changeset 3292:7100924e2932 libavformat

Fix non-debug build.
author mmu_man
date Tue, 13 May 2008 17:43:18 +0000
parents fb5f48e1956f
children d3818f6d7530
files rtp_h264.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rtp_h264.c	Tue May 13 15:51:37 2008 +0000
+++ b/rtp_h264.c	Tue May 13 17:43:18 2008 +0000
@@ -173,8 +173,10 @@
     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)