History

avcodec/vvcdec: decode extradata to support container formats

For example: wget https://www.elecard.com/storage/video/NovosobornayaSquare_1920x1080.mp4 ./ffplay NovosobornayaSquare_1920x1080.mp4

Nuo Mi committed 2 years ago

Commit 26769021 parent 2f24f101 file · +6 −0Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vvc/vvcdec.c+6−0
@@ -977,6 +977,12 @@ static av_cold int vvc_decode_init(AVCodecContext *avctx) · 976 unmodified lines
977 if (ret)977 if (ret)
978 return ret;978 return ret;
979 979
980 if (avctx->extradata_size > 0 && avctx->extradata) {
981 ret = ff_cbs_read_extradata_from_codec(s->cbc, &s->current_frame, avctx);
982 if (ret < 0)
983 return ret;
984 }
985
980 s->nb_fcs = (avctx->flags & AV_CODEC_FLAG_LOW_DELAY) ? 1 : delayed;986 s->nb_fcs = (avctx->flags & AV_CODEC_FLAG_LOW_DELAY) ? 1 : delayed;
981 s->fcs = av_calloc(s->nb_fcs, sizeof(*s->fcs));987 s->fcs = av_calloc(s->nb_fcs, sizeof(*s->fcs));
982 if (!s->fcs)988 if (!s->fcs)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t