[FFmpeg-devel] [PATCH 03/13] src_buffer: add forgotten avfilter_unref_buffer.

Michael Niedermayer michaelni at gmx.at
Sat Apr 28 17:52:45 CEST 2012


On Sat, Apr 28, 2012 at 04:31:45PM +0200, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/src_buffer.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c
> index e306034..7873c0a 100644
> --- a/libavfilter/src_buffer.c
> +++ b/libavfilter/src_buffer.c
> @@ -365,6 +365,7 @@ static int request_frame(AVFilterLink *link)
>          break;
>      case AVMEDIA_TYPE_AUDIO:
>          avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0));
> +        avfilter_unref_buffer(buf);
>          break;
>      default:
>          return AVERROR(ENOSYS);

LGTM
maybe you should just commit such bug fixes without sending patches

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120428/b54dc875/attachment.asc>


More information about the ffmpeg-devel mailing list