diff rtp_h264.c @ 1888:f794ef55fafe libavformat

Corrections so that builds with DEBUG work
author mbardiaux
date Thu, 08 Mar 2007 14:49:43 +0000
parents 1f7a6dc01100
children fbc66bf1f15d
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;