OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809e07c
)
Do not return payload type 34 for H.263 (it is deprecated)
author
Luca Abeni
<lucabe72@email.it>
Tue, 7 Apr 2009 06:37:12 +0000
(06:37 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Tue, 7 Apr 2009 06:37:12 +0000
(06:37 +0000)
Originally committed as revision 18346 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtp.c
b/libavformat/rtp.c
index
6b33cee
..
031bb30
100644
(file)
--- a/
libavformat/rtp.c
+++ b/
libavformat/rtp.c
@@
-100,6
+100,8
@@
int ff_rtp_get_payload_type(AVCodecContext *codec)
/* 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;