diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 16:28:36 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 16:28:36 +0100 |
commit | 8a4464514fac40988f4d10e6419a8e1632dfba0c (patch) | |
tree | 1ab932999f4b3ed6c77b14f663705828be238b57 /libavformat/rtp.c | |
parent | 85e94a30eeb97ac73959fa0e330c5c68e31942e6 (diff) | |
parent | 3d67f52f9dcc60cd3a660ea363762575f3779df7 (diff) | |
download | ffmpeg-8a4464514fac40988f4d10e6419a8e1632dfba0c.tar.gz |
Merge remote-tracking branch 'qatar/release/9' into release/1.1
* qatar/release/9:
arm: vp8: Fix the plain-armv6 version of vp8_luma_dc_wht
Prepare for 9.2 Release
lavr: call mix_function_init() in ff_audio_mix_set_matrix()
rtpenc_chain: Use the original AVFormatContext for getting payload type
rtp: Make sure the output format pointer is set
Conflicts:
RELEASE
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r-- | libavformat/rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 952296e379..80e0c7d745 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -107,7 +107,7 @@ int ff_rtp_get_payload_type(AVFormatContext *fmt, /* static payload type */ for (i = 0; AVRtpPayloadTypes[i].pt >= 0; ++i) if (AVRtpPayloadTypes[i].codec_id == codec->codec_id) { - if (codec->codec_id == AV_CODEC_ID_H263 && (!fmt || + if (codec->codec_id == AV_CODEC_ID_H263 && (!fmt || !fmt->oformat || !fmt->oformat->priv_class || !fmt->priv_data || !av_opt_flag_is_set(fmt->priv_data, "rtpflags", "rfc2190"))) continue; |