]> git.sesse.net Git - ffmpeg/commit
libavformat/fifo: Fix initialization of underlying AVFormatContext
authorJan Sebechlebsky <sebechlebskyjan@gmail.com>
Mon, 3 Jul 2017 21:45:42 +0000 (23:45 +0200)
committerJan Sebechlebsky <sebechlebskyjan@gmail.com>
Wed, 19 Jul 2017 08:08:19 +0000 (10:08 +0200)
commit5c9dcd5c484f56fb9fb5d277256439f0becce12c
treef128d0eb074b543c53e00de3adf91383d1e6128b
parent012620aa1b40b0642e3081871059a1be98411df4
libavformat/fifo: Fix initialization of underlying AVFormatContext

Muxers may want to directly access filename in stored in
AVFormatContext. For example in case of RTSP, the filename (url)
is used by the muxer to extract parameters of the connection.
These muxers will fail when used with fifo pseudo-muxer.

This commit fixes this issue by passing filename from AVFormatContext
of fifo pseudo-muxer to all AVFormatContext(s) of underlying muxers
during initialization.

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
libavformat/fifo.c