summaryrefslogtreecommitdiff
path: root/doc/examples/muxing.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-01-09 10:39:52 +0100
committerStefano Sabatini <stefasab@gmail.com>2014-01-09 10:51:57 +0100
commit8d22d37e548eea57747005aecbdfa2f76e59f19a (patch)
treefc2798d2b16e0c4f84a339dc37a625cd4ae7df44 /doc/examples/muxing.c
parent9abe4a10fd58564df194e7a8e3f082dd266d36b1 (diff)
examples/muxing: use av_frame_free() in place of av_free()
Diffstat (limited to 'doc/examples/muxing.c')
-rw-r--r--doc/examples/muxing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index c4735cf29f..7d80e1c39e 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);
}
/**************************************************************/