summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-12 13:31:55 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-27 10:52:42 +0100
commit2d70912cc22239538593ff027dbb32d13409b888 (patch)
tree394b102d4c0572649567a46bd41f993d929ee92d /libavformat/movenc.c
parent1d911bb404f547599d69312325a2bb63888e8408 (diff)
lavf: remove disabled FF_API_FLAG_RTP_HINT cruft
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 48b474bfc6..f23a63b06e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2685,14 +2685,6 @@ static int mov_write_header(AVFormatContext *s)
if (mov->mode & (MODE_MOV|MODE_IPOD) && s->nb_chapters)
mov->chapter_track = mov->nb_streams++;
-#if FF_API_FLAG_RTP_HINT
- if (s->flags & AVFMT_FLAG_RTP_HINT) {
- av_log(s, AV_LOG_WARNING, "The RTP_HINT flag is deprecated, enable it "
- "via the -movflags rtphint muxer option "
- "instead.\n");
- mov->flags |= FF_MOV_FLAG_RTP_HINT;
- }
-#endif
if (mov->flags & FF_MOV_FLAG_RTP_HINT) {
/* Add hint tracks for each audio and video stream */
hint_track = mov->nb_streams;