mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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@gmail.com>
(cherry picked from commit 397ffde115
)
This commit is contained in:
parent
42f97696ae
commit
118f09114c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user