From 5b9c3b4505206143d85398c1410949319fa1180f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 9 Nov 2013 10:05:22 +0100 Subject: Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). --- avplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avplay.c') diff --git a/avplay.c b/avplay.c index bb8c6897fc..d6c71e95e4 100644 --- a/avplay.c +++ b/avplay.c @@ -1842,7 +1842,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) int resample_changed, audio_resample; if (!is->frame) { - if (!(is->frame = avcodec_alloc_frame())) + if (!(is->frame = av_frame_alloc())) return AVERROR(ENOMEM); } else avcodec_get_frame_defaults(is->frame); -- cgit v1.2.3