Merge commit 'e3f50f2471'
* commit 'e3f50f2471':
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue