Commit a484c962 authored by alex's avatar alex

h264_rtp_extra_data is not only used for debug purposes, asserts are using it also

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9623 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a2baca38
...@@ -165,9 +165,7 @@ static int h264_handle_packet(RTPDemuxContext * s, ...@@ -165,9 +165,7 @@ static int h264_handle_packet(RTPDemuxContext * s,
const uint8_t * buf, const uint8_t * buf,
int len) int len)
{ {
#ifdef DEBUG
h264_rtp_extra_data *data = s->dynamic_protocol_context; h264_rtp_extra_data *data = s->dynamic_protocol_context;
#endif
uint8_t nal = buf[0]; uint8_t nal = buf[0];
uint8_t type = (nal & 0x1f); uint8_t type = (nal & 0x1f);
int result= 0; 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