aboutsummaryrefslogtreecommitdiffstats
path: root/avplay.c
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 /avplay.c
parent17a10d51b8351ce9a57fcb6537b6a3c6ec8ba5e9 (diff)
downloadffmpeg-eb891b3114f499e96b9faddd0b0ae856345dfbd9.tar.gz
Replace all uses of avcodec_free_frame with av_frame_free().
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index 96e0cf2d9e..1cec241c20 100644
--- a/avplay.c
+++ b/avplay.c
@@ -2152,7 +2152,7 @@ static void stream_component_close(VideoState *is, int stream_index)
avresample_free(&is->avr);
av_freep(&is->audio_buf1);
is->audio_buf = NULL;
- avcodec_free_frame(&is->frame);
+ av_frame_free(&is->frame);
if (is->rdft) {
av_rdft_end(is->rdft);