summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-29 21:41:52 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-11 20:39:54 +0100
commiteb891b3114f499e96b9faddd0b0ae856345dfbd9 (patch)
treef3c9c3e1247c7ae3a36fd41080a76a2efb67c932 /doc/examples
parent17a10d51b8351ce9a57fcb6537b6a3c6ec8ba5e9 (diff)
Replace all uses of avcodec_free_frame with av_frame_free().
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/output.c2
1 files changed, 1 insertions, 1 deletions
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)