diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-05 00:39:28 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-16 22:51:11 +0100 |
commit | c38ab8f30fde3155c2be790bf9d2ee1886e196ae (patch) | |
tree | 5d79154ce49d0fe96c0d4fc81a2331cca1069f1b /LICENSE.md | |
parent | 8de5d196d152f9392304b144a2e66f603a239ca7 (diff) | |
download | ffmpeg-c38ab8f30fde3155c2be790bf9d2ee1886e196ae.tar.gz |
avformat/mxfenc: Discard audio until valid video has been received
Normally, video packets are muxed before audio packets for mxf (there is
a dedicated interleave function for this); furthermore the first (video)
packet triggers writing the actual header. Yet when the first video packet
fails the checks performed on it, it will be an audio packet that leads
to writing the header and codec_ul (a value set based upon
properties of the bitstream which necessitates actually inspecting
packets) may be wrong. Therefore this commit discards audio packets until
a valid video packet has been received.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions