Bug#726189: Bug#726190: libavcodec54: Broken encode with codec FFV! pixfmt RGB32
Reinhard Tartler
siretart at gmail.com
Sun Oct 13 23:26:43 UTC 2013
tags 726189 +patch
stop
On Sun, Oct 13, 2013 at 3:40 PM, Dima Kogan <dima at secretsauce.net> wrote:
> Reinhard Tartler <siretart at gmail.com> writes:
>
>> This patch is supposed to fix it:
>>
>> http://pastebin.com/6YNnNZwy:
>>
>> commit 2b99029ca865665e51b2111a7dd5c564f160ff3b
>> Author: Luca Barbato <lu_zero at gentoo.org>
>> Date: Sun Oct 13 15:34:47 2013 +0200
>>
>> ffv1: Assume bitdepth 0 means 8bit
>>
>> CC: libav-stable at libav.org
>>
>> diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
>> index 584755d..f0a409f 100644
>> --- a/libavcodec/ffv1dec.c
>> +++ b/libavcodec/ffv1dec.c
>> @@ -669,6 +669,7 @@ static int read_header(FFV1Context *f)
>> return AVERROR(ENOSYS);
>> }
>> switch (f->avctx->bits_per_raw_sample) {
>> + case 0:
>> case 8:
>> f->avctx->pix_fmt = AV_PIX_FMT_RGB32;
>> break;
>>
>>
>> Could you test it?
>
> I tested it. This patch fixes [#72189]
Thanks for testing it. I see to include the patch in the next upload.
--
regards,
Reinhard
More information about the pkg-multimedia-maintainers
mailing list