On 02/08/14 01:58, Luca Barbato wrote:
> Otherwise trailing zeroes would appear.
> ---
> 
> This patch requires to update the reference files.
> Shall I upload a v3?
> 
>  libavfilter/af_resample.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavfilter/af_resample.c b/libavfilter/af_resample.c
> index bc8fd8a..ce4273a 100644
> --- a/libavfilter/af_resample.c
> +++ b/libavfilter/af_resample.c
> @@ -197,6 +197,7 @@ static int request_frame(AVFilterLink *outlink)
>              return (ret == 0) ? AVERROR_EOF : ret;
>          }
> 
> +        frame->nb_samples = ret;
>          frame->pts = s->next_pts;
>          return ff_filter_frame(outlink, frame);
>      }
> --
> 1.9.0

Ping.

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

Reply via email to