]> git.sesse.net Git - ffmpeg/commit
avformat/mux: Remove redundant resetting
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 11 Apr 2020 11:48:50 +0000 (13:48 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 17 Apr 2020 22:41:27 +0000 (00:41 +0200)
commit00aa6dea3f3c1f15e55ba7d0dd99071065b7a3c7
treed525fd04fbef896706e2d35599530e32396aa40c
parenta43120b609db300a4b3fa086d6ac753c13e6bf6d
avformat/mux: Remove redundant resetting

Now that ff_interleave_add_packet() always returns blank packets, the
input packet to ff_interleave_packet_per_dts() will always be blank on
return as well (if supplied) and the same goes for interleave_packet()
in mux.c. Document these facts and remove the redundant resetting that
happened in av_interleaved_write_frame().

The last reference to the (long removed) destruct field that AVPackets
once had has been removed as well when updating the documentation of
ff_interleave_packet_per_dts().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/internal.h
libavformat/mux.c