changeset 1888:f794ef55fafe libavformat

Corrections so that builds with DEBUG work
author mbardiaux
date Thu, 08 Mar 2007 14:49:43 +0000
parents 490aa34aef0f
children e81bae269ae1
files rtp_h264.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtp_h264.c	Wed Mar 07 02:03:32 2007 +0000
+++ b/rtp_h264.c	Thu Mar 08 14:49:43 2007 +0000
@@ -164,7 +164,9 @@
                               const uint8_t * buf,
                               int len)
 {
-//    h264_rtp_extra_data *data = s->dynamic_protocol_context;
+#ifdef DEBUG
+    h264_rtp_extra_data *data = s->dynamic_protocol_context;
+#endif
     uint8_t nal = buf[0];
     uint8_t type = (nal & 0x1f);
     int result= 0;