# HG changeset patch # User diego # Date 1194180376 0 # Node ID 6a7b82888880e1297f3f1847835b43d98a58d3a5 # Parent 25028505671caf7756455948c14f9db469f2a6fe 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¡Ç diff -r 25028505671c -r 6a7b82888880 rtp_h264.c --- a/rtp_h264.c Sat Nov 03 22:42:20 2007 +0000 +++ b/rtp_h264.c Sun Nov 04 12:46:16 2007 +0000 @@ -165,7 +165,9 @@ 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;