[FFmpeg-devel] [PATCH] avcodec/ffv1dec: fix crash if number of slice counts change midstream

Paul B Mahol onemda at gmail.com
Fri Sep 25 00:29:04 CEST 2015


On 9/24/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Thu, Sep 24, 2015 at 09:45:35PM +0200, Paul B Mahol wrote:
>> Everyting points this is currently unsupported.
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libavcodec/ffv1dec.c | 15 +++++++++++----
>>  1 file changed, 11 insertions(+), 4 deletions(-)
>
> fixed differently (so slice_counts can change, not really tested
> though due to lack of encoder support)

That fix decodes nonsense for 2nd part when concatinating 2 nuts when
1st have 16
slices and 2nd have 4 slices.

Just create 2 nuts with different slice number and concat them with concat
demuxer and copy codec.


More information about the ffmpeg-devel mailing list