[FFmpeg-cvslog] nutenc: use av_assert

Michael Niedermayer git at videolan.org
Fri Jun 15 19:45:26 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 15 19:38:03 2012 +0200| [dd2086140c00c25ee2889dbee607ada268d6cbf6] | committer: Michael Niedermayer

nutenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dd2086140c00c25ee2889dbee607ada268d6cbf6
---

 libavformat/nutenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index a6e6251..bd10b29 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);



More information about the ffmpeg-cvslog mailing list