From 7cf6af27c9ea2339f02f08657dfd8b44201b12a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
Date: Tue, 13 May 2008 17:43:18 +0000
Subject: [PATCH] Fix non-debug build.

Originally committed as revision 13149 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/rtp_h264.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index 009774e8ad1..c83b3a71780 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -173,8 +173,10 @@ static int h264_handle_packet(RTPDemuxContext * s,
     int result= 0;
     uint8_t start_sequence[]= {0, 0, 1};
 
+#ifdef DEBUG
     assert(data);
     assert(data->cookie == MAGIC_COOKIE);
+#endif
     assert(buf);
 
     if (type >= 1 && type <= 23)
-- 
GitLab