From eb891b3114f499e96b9faddd0b0ae856345dfbd9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 29 Nov 2013 21:41:52 +0100 Subject: Replace all uses of avcodec_free_frame with av_frame_free(). --- doc/examples/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples') diff --git a/doc/examples/output.c b/doc/examples/output.c index 2cd11f2ddc..06fdf509ac 100644 --- a/doc/examples/output.c +++ b/doc/examples/output.c @@ -163,7 +163,7 @@ static void write_audio_frame(AVFormatContext *oc, AVStream *st) fprintf(stderr, "Error while writing audio frame\n"); exit(1); } - avcodec_free_frame(&frame); + av_frame_free(&frame); } static void close_audio(AVFormatContext *oc, AVStream *st) -- cgit v1.2.3