mirror of https://github.com/FFmpeg/FFmpeg.git
The current code only checks when writing the trailer whether the video format and Codec ID are actually compatible with the container. At this point, a lot of data will already have been written (in vain, of course), so check during the init function instead. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>pull/331/head
parent
30859c270f
commit
56a04b7c38
1 changed files with 11 additions and 8 deletions
Loading…
Reference in new issue