[FFmpeg-cvslog] r18346 - trunk/libavformat/rtp.c
lucabe
subversion
Tue Apr 7 08:37:12 CEST 2009
Author: lucabe
Date: Tue Apr 7 08:37:12 2009
New Revision: 18346
Log:
Do not return payload type 34 for H.263 (it is deprecated)
Modified:
trunk/libavformat/rtp.c
Modified: trunk/libavformat/rtp.c
==============================================================================
--- trunk/libavformat/rtp.c Tue Apr 7 03:39:17 2009 (r18345)
+++ trunk/libavformat/rtp.c Tue Apr 7 08:37:12 2009 (r18346)
@@ -100,6 +100,8 @@ int ff_rtp_get_payload_type(AVCodecConte
/* compute the payload type */
for (payload_type = -1, i = 0; AVRtpPayloadTypes[i].pt >= 0; ++i)
if (AVRtpPayloadTypes[i].codec_id == codec->codec_id) {
+ if (codec->codec_id == CODEC_ID_H263)
+ continue;
if (codec->codec_id == CODEC_ID_PCM_S16BE)
if (codec->channels != AVRtpPayloadTypes[i].audio_channels)
continue;
More information about the ffmpeg-cvslog
mailing list