Commit dd3f1563 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b69183f6'

* commit 'b69183f6':
  nutenc: check for negative index rather than assert

Conflicts:
	libavformat/nutenc.c

Not merged, the assert is correct
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 979062fe b69183f6
......@@ -1119,6 +1119,7 @@ static int nut_write_packet(AVFormatContext *s, AVPacket *pkt)
}
}
av_assert0(frame_code != -1);
fc = &nut->frame_code[frame_code];
flags = fc->flags;
needed_flags = get_needed_flags(nut, nus, fc, pkt);
......
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