OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b22dbb2
)
rtpenc_chain: Don't copy the time_base back to the caller
author
Martin Storsjö
<martin@martin.st>
Fri, 4 Feb 2011 10:04:19 +0000
(12:04 +0200)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 4 Feb 2011 16:41:10 +0000
(11:41 -0500)
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@gmail.com>
libavformat/rtpenc_chain.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpenc_chain.c
b/libavformat/rtpenc_chain.c
index
e1f200c
..
63918ad
100644
(file)
--- 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;
}