Commit 76bcf3e3 authored by diego's avatar diego

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’


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10923 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7e6a43a2
......@@ -165,7 +165,9 @@ static int h264_handle_packet(RTPDemuxContext * s,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment