[FFmpeg-devel] [PATCH 3/7] avformat/segafilmenc: Check early whether video is allowed
Michael Niedermayer
michael at niedermayer.cc
Wed Jan 15 00:02:54 EET 2020
On Tue, Jan 14, 2020 at 04:13:32AM +0100, Andreas Rheinhardt wrote:
> 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 at gmail.com>
> ---
> libavformat/segafilmenc.c | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200114/9078cb11/attachment.sig>
More information about the ffmpeg-devel
mailing list