summaryrefslogtreecommitdiff
path: root/libavformat/rtp_h264.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-07-13 12:12:38 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-07-13 12:12:38 +0000
commitef466de0a87c6436cb5a33577c168088db32c65d (patch)
tree667b38ef984a7065202c6ff9a7ab52c517c1ec0d /libavformat/rtp_h264.c
parent8a54ad09feda86c8f38956d32734ba9567042bba (diff)
h264_rtp_extra_data is not only used for debug purposes, asserts are using it also
Originally committed as revision 9623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_h264.c')
-rw-r--r--libavformat/rtp_h264.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtp_h264.c b/libavformat/rtp_h264.c
index 0b8853072f..5aeb6f183f 100644
--- a/libavformat/rtp_h264.c
+++ b/libavformat/rtp_h264.c
@@ -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;