For example: wget https://www.elecard.com/storage/video/NovosobornayaSquare_1920x1080.mp4 ./ffplay NovosobornayaSquare_1920x1080.mp4
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -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) |