diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 16:19:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 16:19:17 +0100 |
commit | 85e94a30eeb97ac73959fa0e330c5c68e31942e6 (patch) | |
tree | 5e5d68b439eef42d44e0b217938acc1caf250f5d /libavformat | |
parent | 3445bec6fc1de92a6ebef1ada2e5aa850fde9e94 (diff) | |
parent | 62de693a17f9b107be7867d822d5accacd4be544 (diff) | |
download | ffmpeg-85e94a30eeb97ac73959fa0e330c5c68e31942e6.tar.gz |
Merge commit '62de693a17f9b107be7867d822d5accacd4be544' into release/1.1
* commit '62de693a17f9b107be7867d822d5accacd4be544':
rtp: Make sure priv_data is set before reading it
videodsp_armv5te: remove #if HAVE_ARMV5TE_EXTERNAL
get_bits: change the failure condition in init_get_bits
mpegvideo: fix loop condition in draw_line()
Conflicts:
libavcodec/get_bits.h
libavcodec/mpegvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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 ab0af11cbb..952296e379 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -108,7 +108,7 @@ int ff_rtp_get_payload_type(AVFormatContext *fmt, 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 || - !fmt->oformat->priv_class || + !fmt->oformat->priv_class || !fmt->priv_data || !av_opt_flag_is_set(fmt->priv_data, "rtpflags", "rfc2190"))) continue; /* G722 has 8000 as nominal rate even if the sample rate is 16000, |