mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 02:19:35 +00:00
Merge commit 'e3f50f247155216229e34f165bae8c329d5a001e'
* commit 'e3f50f247155216229e34f165bae8c329d5a001e': dnxhdenc: check negative index Conflicts: libavcodec/dnxhdenc.c Not merged, the cid index thats taken out of our table will be found again in said table. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
7f8ef7876e
@ -314,6 +314,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
|
||||
|
||||
index = ff_dnxhd_get_cid_table(ctx->cid);
|
||||
av_assert0(index >= 0);
|
||||
|
||||
ctx->cid_table = &ff_dnxhd_cid_table[index];
|
||||
|
||||
ctx->m.avctx = avctx;
|
||||
|
Loading…
Reference in New Issue
Block a user