mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
8a54ad09fe
commit
ef466de0a8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue