On Fri, Mar 7, 2014 at 12:08 PM, Janne Grunau <[email protected]> wrote:
> On 2014-03-07 11:56:22 +0100, Vittorio Giovara wrote:
>> ---
>>  libavcodec/mpegvideo.c | 17 +++++++++--------
>>  libavcodec/mpegvideo.h |  2 +-
>>  libavcodec/svq3.c      |  3 +--
>>  3 files changed, 11 insertions(+), 11 deletions(-)
>>
>> --- a/libavcodec/svq3.c
>> +++ b/libavcodec/svq3.c
>> @@ -1267,8 +1267,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, 
>> void *data,
>>                      (h->pict_type == AV_PICTURE_TYPE_P && mb_type < 8) ? 
>> (mb_type - 1) : -1;
>>          }
>>
>> -        ff_draw_horiz_band(avctx, s->cur_pic,
>> -                           s->last_pic->f.data[0] ? s->last_pic : NULL,
>> +        ff_draw_horiz_band(avctx, &s->cur_pic->f, &s->last_pic->f,
>
> This has the same problem as the h264 commit had, last will be never
> NULL
>

Right, amended, thanks.
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to