mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 15:07:12 +08:00
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Michael Niedermayer

parent
81c5f88748
commit
bc874daea8
@ -301,7 +301,7 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
|
||||
return -1;
|
||||
#if defined(DEBUG) || 1
|
||||
if (seq != ((s->seq + 1) & 0xffff)) {
|
||||
printf("RTP: PT=%02x: bad cseq %04x expected=%04x\n",
|
||||
av_log(&s->st->codec, AV_LOG_ERROR, "RTP: PT=%02x: bad cseq %04x expected=%04x\n",
|
||||
payload_type, seq, ((s->seq + 1) & 0xffff));
|
||||
}
|
||||
s->seq = seq;
|
||||
|
Reference in New Issue
Block a user