summaryrefslogtreecommitdiff
path: root/libavformat/rtp_h264.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-08 14:49:43 +0000
committerMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-08 14:49:43 +0000
commitbdb4b698d8bc0ffa128d057e15edabfdd83aef8b (patch)
tree61a38e36316c8e09936cd828f5a81506c858449a /libavformat/rtp_h264.c
parent07cbff39a79ee74385def1a6da8233ecdc58e6ac (diff)
Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_h264.c')
-rw-r--r--libavformat/rtp_h264.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index 2d31822788..d38e8780d8 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -164,7 +164,9 @@ static int h264_handle_packet(RTPDemuxContext * s,
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;