# HG changeset patch # User lucabe # Date 1239086232 0 # Node ID ec96a30c71412a9d1c94429d64c87a39a50c328c # Parent f7bc722a3a3616f83b84a1d67deb8c568e86f5e0 Do not return payload type 34 for H.263 (it is deprecated) diff -r f7bc722a3a36 -r ec96a30c7141 rtp.c --- a/rtp.c Mon Apr 06 21:04:26 2009 +0000 +++ b/rtp.c Tue Apr 07 06:37:12 2009 +0000 @@ -100,6 +100,8 @@ /* 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;