From a5a1e3cb8a5f554818c2e491ab4d2cad833a4556 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 Dec 2011 00:38:22 +0100 Subject: [PATCH] ffplay: Fix got_frame type. Signed-off-by: Michael Niedermayer Signed-off-by: Marton Balint --- ffplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index d10ac693c4..64198c0487 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2043,7 +2043,8 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) AVPacket *pkt = &is->audio_pkt; AVCodecContext *dec= is->audio_st->codec; int len1, len2, data_size, resampled_data_size; - int64_t dec_channel_layout, got_frame; + int64_t dec_channel_layout; + int got_frame; double pts; int new_packet = 0; int flush_complete = 0;