[FFmpeg-devel] [PATCH] avformat/flvenc: check that the codec_tag fits in one byte
michaelni at gmx.at
Sat Feb 28 23:00:09 CET 2015
On Sat, Feb 28, 2015 at 09:12:57PM +0100, Andreas Cadhalpun wrote:
> Trying to mux prores into flv triggers an av_assert2, because the
> prores codec tag doesn't fit in one byte.
> Attached is a patch fixing this.
> Best regards,
> flvenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 5208f6033d1fe1bc4be01742f42e7fef072d5758 0001-avformat-flvenc-check-that-the-codec_tag-fits-in-one.patch
> From 850352d0e1c262b434094fb19787bbd5b6bf6c57 Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Sat, 28 Feb 2015 20:58:31 +0100
> Subject: [PATCH] avformat/flvenc: check that the codec_tag fits in one byte
> flags is later written with avio_w8 and if it doesn't fit in one byte it
> triggers an av_assert2.
applied with some changes, the allowed range is smaller
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel