[FFmpeg-cvslog] r10923 - trunk/libavformat/rtp_h264.c
diego
subversion
Sun Nov 4 13:46:16 CET 2007
Author: diego
Date: Sun Nov 4 13:46:16 2007
New Revision: 10923
Log:
Enable debug variable only when debug code is enabled, fixes the warning:
rtp_h264.c: In function ?h264_handle_packet?:
rtp_h264.c:168: warning: unused variable ?data?
Modified:
trunk/libavformat/rtp_h264.c
Modified: trunk/libavformat/rtp_h264.c
==============================================================================
--- trunk/libavformat/rtp_h264.c (original)
+++ trunk/libavformat/rtp_h264.c Sun Nov 4 13:46:16 2007
@@ -165,7 +165,9 @@ static int h264_handle_packet(RTPDemuxCo
const uint8_t * buf,
int len)
{
+#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;
More information about the ffmpeg-cvslog
mailing list