Re: [libav-devel] [PATCH 2/2] lavf: always use av_free

2014-03-10 Thread Janne Grunau
On 2014-03-10 17:03:14 +0100, Tim Walker wrote:
> From: Michael Niedermayer 
> 
> Signed-off-by: Michael Niedermayer 
> Signed-off-by: Tim Walker 
> ---
> 
> This supersedes the previous version of the patch.
> 
>  libavformat/hevc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/hevc.c b/libavformat/hevc.c
> index e3be20c..37b35b4 100644
> --- a/libavformat/hevc.c
> +++ b/libavformat/hevc.c
> @@ -1056,7 +1056,7 @@ int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t 
> *buf_in,
>  }
>  
>  end:
> -free(start);
> +av_free(start);
>  if (ps_count)
>  *ps_count = num_ps;
>  return ret;

ok

Janne
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH 2/2] lavf: always use av_free

2014-03-10 Thread Tim Walker
From: Michael Niedermayer 

Signed-off-by: Michael Niedermayer 
Signed-off-by: Tim Walker 
---

This supersedes the previous version of the patch.

 libavformat/hevc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index e3be20c..37b35b4 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -1056,7 +1056,7 @@ int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t 
*buf_in,
 }
 
 end:
-free(start);
+av_free(start);
 if (ps_count)
 *ps_count = num_ps;
 return ret;
-- 
1.8.3.4 (Apple Git-47)

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel