]> git.sesse.net Git - ffmpeg/commit
avformat/mux: return a pointer to the packet in ff_interleaved_peek()
authorJames Almer <jamrial@gmail.com>
Mon, 8 Feb 2021 22:04:05 +0000 (19:04 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 13 Feb 2021 16:05:26 +0000 (13:05 -0300)
commitd5d6751a5505463824bf37e86a3a79010ba31d0b
tree928bdb278381b073204ab318d3862550c2e58196
parent93e2fa933f1625f488a2d88f9d50254ef13401d2
avformat/mux: return a pointer to the packet in ff_interleaved_peek()

And make it const, so the caller doesn't attempt to change it.
ff_get_muxer_ts_offset() should be used to get the muxer timestamp offset.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/internal.h
libavformat/movenc.c
libavformat/mux.c