[FFmpeg-cvslog] rtpenc_chain: Don't copy the time_base back to the caller
Martin Storsjö
git
Sun Feb 6 21:08:54 CET 2011
ffmpeg | branch: master | Martin Storsj? <martin at martin.st> | Fri Feb 4 12:04:19 2011 +0200| [118f09114cb99cf6805d952fd6a297dc934d9603] | committer: Michael Niedermayer
rtpenc_chain: Don't copy the time_base back to the caller
If required, the caller can do this itself. ff_write_chained rescales
timestamps as necessary, and all current callers of rtpenc_chain
use ff_write_chained, making this timebase copy unnecessary.
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
(cherry picked from commit 397ffde115f4e0482a007b672f40457596cebfc4)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=118f09114cb99cf6805d952fd6a297dc934d9603
---
libavformat/rtpenc_chain.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c
index e1f200c..63918ad 100644
--- a/libavformat/rtpenc_chain.c
+++ b/libavformat/rtpenc_chain.c
@@ -70,8 +70,6 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
return NULL;
}
- /* Copy the RTP AVStream timebase back to the original AVStream */
- st->time_base = rtpctx->streams[0]->time_base;
return rtpctx;
}
More information about the ffmpeg-cvslog
mailing list