summaryrefslogtreecommitdiff
path: root/libavformat/movenchint.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-15 01:38:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-15 01:52:14 +0100
commitc980be9e3aafad57ec769cbb16c9ad6e640479cb (patch)
treea804c9e2517a2e8ec9e5f22890862cbb226a66da /libavformat/movenchint.c
parente7dbfa59f218ece7ec65f7ea0ff2950573dd2267 (diff)
parentdc4e57489fa0f9cf4faf4c85cc405d6db77d84db (diff)
downloadffmpeg-c980be9e3aafad57ec769cbb16c9ad6e640479cb.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: (21 commits) CDXL demuxer and decoder hls: Re-add legacy applehttp name to preserve interface compatibility. hlsproto: Rename the functions and context hlsproto: Encourage users to try the hls demuxer instead of the proto doc: Move the hls protocol section into the right place libavformat: Rename the applehttp protocol to hls hls: Rename the functions and context libavformat: Rename the applehttp demuxer to hls rtpdec: Support H263 in RFC 2190 format rv30: check block type validity ttadec: CRC checking movenc: Support muxing VC1 avconv: Don't split out inline sequence headers when stream copying VC1 rv34: handle size changes during frame multithreading rv40: prevent undefined signed overflow in rv40_loop_filter() rv34: use AVERROR return values in ff_rv34_decode_frame() rv34: use uint16_t for RV34DecContext.deblock_coefs librtmp: Add "lib" prefix to librtmp URLProtocol declarations. movenc: Use defines instead of hardcoded numbers for RTCP types smjpegdec: implement seeking ... Conflicts: Changelog doc/general.texi libavcodec/avcodec.h libavcodec/rv30.c libavcodec/tta.c libavcodec/version.h libavformat/Makefile libavformat/allformats.c libavformat/version.h libswscale/x86/swscale_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenchint.c')
-rw-r--r--libavformat/movenchint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c
index 1b8b2c10ea..2318ff65a1 100644
--- a/libavformat/movenchint.c
+++ b/libavformat/movenchint.c
@@ -24,6 +24,7 @@
#include "internal.h"
#include "rtpenc_chain.h"
#include "avio_internal.h"
+#include "rtp.h"
int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
{
@@ -332,7 +333,7 @@ static int write_hint_packets(AVIOContext *out, const uint8_t *data,
size -= 4;
if (packet_len > size || packet_len <= 12)
break;
- if (data[1] >= 200 && data[1] <= 204) {
+ if (data[1] >= RTCP_SR && data[1] <= RTCP_APP) {
/* RTCP packet, just skip */
data += packet_len;
size -= packet_len;