diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-14 04:13:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-14 23:00:35 +0100 |
commit | 56a04b7c38e15b5a698ca15bc3e940f06777e315 (patch) | |
tree | bd193e6ea110c64ea4f53b61ff84074b6f300ca4 /libavformat/dv.c | |
parent | 30859c270fa5f14d9bb13382f86f90affc3a4c3e (diff) | |
download | ffmpeg-56a04b7c38e15b5a698ca15bc3e940f06777e315.tar.gz |
avformat/segafilmenc: Check early whether video is allowed
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>
Diffstat (limited to 'libavformat/dv.c')
0 files changed, 0 insertions, 0 deletions