[FFmpeg-devel] [PATCH] libschroedingerdec: add CODEC_CAP_DR1
Paul B Mahol
onemda at gmail.com
Sun Jul 8 04:25:31 CEST 2012
On 7/8/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Jul 07, 2012 at 08:48:54PM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>> libavcodec/libschroedingerdec.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/libavcodec/libschroedingerdec.c
>> b/libavcodec/libschroedingerdec.c
>> index 5aa9c95..b20ffdf 100644
>> --- a/libavcodec/libschroedingerdec.c
>> +++ b/libavcodec/libschroedingerdec.c
>> @@ -386,7 +386,7 @@ AVCodec ff_libschroedinger_decoder = {
>> .init = libschroedinger_decode_init,
>> .close = libschroedinger_decode_close,
>> .decode = libschroedinger_decode_frame,
>> - .capabilities = CODEC_CAP_DELAY,
>> + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
>> .flush = libschroedinger_flush,
>
> the code seems to make assumtions on the linesize and is actually
> overwriting it, thats not compatible with DR1
Yup, same issue with yop. thus dropped.
More information about the ffmpeg-devel
mailing list