summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avplay.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/avplay.c b/avplay.c
index 1cec241c20..432db97823 100644
--- a/avplay.c
+++ b/avplay.c
@@ -1846,8 +1846,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
if (!is->frame) {
if (!(is->frame = av_frame_alloc()))
return AVERROR(ENOMEM);
- } else
- avcodec_get_frame_defaults(is->frame);
+ }
if (flush_complete)
break;