]> git.sesse.net Git - ffmpeg/commit
libavformat/mux, mxfenc: Don't initialize unnecessarily
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 31 Mar 2020 07:54:11 +0000 (09:54 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 17 Apr 2020 23:24:56 +0000 (01:24 +0200)
commite79309fde624805e339a7bc00bf1ce006172a0ad
treecaa803a801100b2151d725da08ea599ce1e579d8
parent148bcc0bc5ff9ce10dbfaf2f3054c267bcbdf91a
libavformat/mux, mxfenc: Don't initialize unnecessarily

When no packet could be output, the interleavement functions
nevertheless initialized the packet destined for output (with the
exception of the data and size fields, making the initialization
pointless), although it will not be used at all. So remove the
initializations.

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/internal.h
libavformat/mux.c
libavformat/mxfenc.c