OSDN Git Service

h264_rtp_extra_data is not only used for debug purposes, asserts are using it also
authorAlex Beregszaszi <alex@rtfs.hu>
Fri, 13 Jul 2007 12:12:38 +0000 (12:12 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Fri, 13 Jul 2007 12:12:38 +0000 (12:12 +0000)
Originally committed as revision 9623 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp_h264.c

index 0b88530..5aeb6f1 100644 (file)
@@ -165,9 +165,7 @@ 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;