[FFmpeg-devel] [PATCH] VP3: fix decoding of videos with stride > 2048

Ronald S. Bultje rsbultje
Fri Feb 18 18:56:36 CET 2011


Hi,

On Fri, Feb 18, 2011 at 9:38 AM, Jason Garrett-Glaser <jason at x264.com> wrote:
> On Fri, Feb 18, 2011 at 4:11 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> On Thu, Feb 17, 2011 at 08:26:40PM -0800, Jason Garrett-Glaser wrote:
>>> Also remove qscale_table code; this didn't make sense anyways as VP3 doesn't
>>> use an MPEG-like quantizer scale.
>>> ---
>>> ?libavcodec/vp3.c | ? 20 ++++++--------------
>>> ?1 files changed, 6 insertions(+), 14 deletions(-)
>>
>> [...]
>>> @@ -1892,6 +1883,9 @@ static int vp3_decode_frame(AVCodecContext *avctx,
>>> ? ? ? ? ?goto error;
>>> ? ? ?}
>>>
>>> + ? ?if (!s->edge_emu_buffer)
>>> + ? ? ? ?s->edge_emu_buffer = av_malloc(9*s->current_frame.linesize[0]);
>>
>> FFABS() to allow negative linesizes
>
> Done locally.

Looks OK to me otherwise, feel free to commit.

Ronald



More information about the ffmpeg-devel mailing list