[FFmpeg-cvslog] examples/muxing: use av_frame_free() in place of av_free()

Stefano Sabatini git at videolan.org
Thu Jan 9 10:55:37 CET 2014


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jan  9 10:39:52 2014 +0100| [8d22d37e548eea57747005aecbdfa2f76e59f19a] | committer: Stefano Sabatini

examples/muxing: use av_frame_free() in place of av_free()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d22d37e548eea57747005aecbdfa2f76e59f19a
---

 doc/examples/muxing.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index c4735cf..7d80e1c 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -457,7 +457,7 @@ static void close_video(AVFormatContext *oc, AVStream *st)
     avcodec_close(st->codec);
     av_free(src_picture.data[0]);
     av_free(dst_picture.data[0]);
-    av_free(frame);
+    av_frame_free(&frame);
 }
 
 /**************************************************************/



More information about the ffmpeg-cvslog mailing list