aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-31 12:37:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-31 12:54:00 +0200
commit9c22e909ed6feb1c1b148513ec81d8e4d02b4201 (patch)
treeb593d7f620e3437ead6719ecb895444f6cb9ebe2
parent8c895ae73f81a5db66f3bfeac3d91da5c4e179e2 (diff)
downloadffmpeg-9c22e909ed6feb1c1b148513ec81d8e4d02b4201.tar.gz
Revert "avformat/movenchint: Fix movhinting with ff_rtp_chain_mux_open() from abb810db036628e11a5171134ebe320b187ee6d6"
This has become unneeded due to f797b134cad4d248b1c8955659997980d0668bc3 This reverts commit 1fe40e1b0538a8eb8425123c47775b5d141ae084.
-rw-r--r--libavformat/movenchint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c
index 5f3f7de44b..9d6a66e8ce 100644
--- a/libavformat/movenchint.c
+++ b/libavformat/movenchint.c
@@ -33,7 +33,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
MOVTrack *src_track = &mov->tracks[src_index];
AVStream *src_st = s->streams[src_index];
int ret = AVERROR(ENOMEM);
- AVRational src_timebase = src_st->time_base;
track->tag = MKTAG('r','t','p',' ');
track->src_track = src_index;
@@ -49,8 +48,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
if (ret < 0)
goto fail;
- src_st->time_base = src_timebase; // prevent ff_rtp_chain_mux_open() from corrupting the timebase
-
/* Copy the RTP AVStream timebase back to the hint AVStream */
track->timescale = track->rtp_ctx->streams[0]->time_base.den;