diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-22 00:09:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-22 00:09:00 +0200 |
commit | dd3f1563d7666b631035644ea690c20b00ec91de (patch) | |
tree | f84e0be8481394b98e42d41c135460f4872799b5 /libavformat | |
parent | 979062fe2febb502e8b75e944e61673cf70c79b7 (diff) | |
parent | b69183f65d0f6f4cd7a4e6c0deb57d59b0185aba (diff) | |
download | ffmpeg-dd3f1563d7666b631035644ea690c20b00ec91de.tar.gz |
Merge commit 'b69183f65d0f6f4cd7a4e6c0deb57d59b0185aba'
* commit 'b69183f65d0f6f4cd7a4e6c0deb57d59b0185aba':
nutenc: check for negative index rather than assert
Conflicts:
libavformat/nutenc.c
Not merged, the assert is correct
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/nutenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 5db380f752..3424e26edb 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -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); |