Commit 7f8ef787 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e3f50f24'

* commit 'e3f50f24':
  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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 76fa7891 e3f50f24
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment