Re: [FFmpeg-devel] [PATCH] avcodec/flac_parser: fix triggered assert

2022-09-13 Thread Mattias Wadman
On Tue, Sep 13, 2022 at 11:28 AM Paul B Mahol wrote: > On 9/8/22, Paul B Mahol wrote: > > Patch attached. > > > > Will apply soon. Curious where the 1 << 28 constant come from? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/

Re: [FFmpeg-devel] [PATCH] avcodec/flac_parser: fix triggered assert

2022-09-13 Thread Paul B Mahol
On 9/8/22, Paul B Mahol wrote: > Patch attached. > Will apply soon. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with s

[FFmpeg-devel] [PATCH] avcodec/flac_parser: fix triggered assert

2022-09-08 Thread Paul B Mahol
Patch attached. From a726d0a26c9f60d65167a83789f9c222cfda5728 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 8 Sep 2022 09:59:09 +0200 Subject: [PATCH] avcodec/flac_parser: avoid returning too negative number If return value is very small parser code will assert. Signed-off-by: Paul B Ma