On 01/03/14 18:22, Vittorio Giovara wrote:
> first_field is always 0 and the code always return from that condition.

s->first_field_band you mean?

> ---
>  libavcodec/svq3.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index fac95ee..afbddc7 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -1266,11 +1266,6 @@ static int svq3_decode_frame(AVCodecContext *avctx, 
> void *data,
>                  h->cur_pic.mb_type[h->mb_x + h->mb_y * h->mb_stride] =
>                      (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,
> -                           16 * h->mb_y, 16, h->picture_structure, 0,
> -                           h->low_delay);
>      }
>  
>      if (h->pict_type == AV_PICTURE_TYPE_B || h->low_delay)
> 

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to