summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-09 10:05:22 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-16 12:44:20 +0100
commit5b9c3b4505206143d85398c1410949319fa1180f (patch)
treee947d3ad720f3442712d5bf8d59e073243b75f04 /avplay.c
parent2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff)
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
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 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);