aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nutenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-15 19:38:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-15 19:44:42 +0200
commitdd2086140c00c25ee2889dbee607ada268d6cbf6 (patch)
tree3698cbb7ac2625d0d68820453e469835d7fc93de /libavformat/nutenc.c
parent17bbb818ae2a169a76f300d46e3d39f2dc68fea8 (diff)
downloadffmpeg-dd2086140c00c25ee2889dbee607ada268d6cbf6.tar.gz
nutenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index a6e62515be..bd10b2965b 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -810,7 +810,7 @@ static int nut_write_packet(AVFormatContext *s, AVPacket *pkt){
frame_code=i;
}
}
- assert(frame_code != -1);
+ av_assert0(frame_code != -1);
fc= &nut->frame_code[frame_code];
flags= fc->flags;
needed_flags= get_needed_flags(nut, nus, fc, pkt);