[FFmpeg-devel] [PATCH] lavf/flvenc: fail in case the muxed packet is too big

Michael Niedermayer michaelni at gmx.at
Mon Nov 3 01:56:39 CET 2014


On Mon, Nov 03, 2014 at 12:32:04AM +0100, Stefano Sabatini wrote:
> Avoid the creation of files which cannot be successfully decoded by
> ffmpeg, for example generated with:
> ffmpeg -f lavfi -i sine -af "aselect='not(between(t,100,500))',aresample=min_comp=0.001:min_hard_comp=0.100000" -acodec pcm_s16le -t 1000 -y out_audio.flv
> ---
>  libavformat/flvenc.c | 6 ++++++
>  1 file changed, 6 insertions(+)

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141103/a97cde20/attachment.asc>


More information about the ffmpeg-devel mailing list