summaryrefslogtreecommitdiff
path: root/libavformat/utils.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 /libavformat/utils.c
parent17a10d51b8351ce9a57fcb6537b6a3c6ec8ba5e9 (diff)
Replace all uses of avcodec_free_frame with av_frame_free().
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index ea1d927b52..36770d9b80 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1995,7 +1995,7 @@ static int try_decode_frame(AVStream *st, AVPacket *avpkt, AVDictionary **option
}
fail:
- avcodec_free_frame(&frame);
+ av_frame_free(&frame);
return ret;
}