summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-14 00:38:22 +0100
committerMarton Balint <cus@passwd.hu>2011-12-14 21:21:22 +0100
commita5a1e3cb8a5f554818c2e491ab4d2cad833a4556 (patch)
treef06236cc4fcc135ff57c3b02d9c53ce0c0c61027 /ffplay.c
parent91a3ea671adda0039c6c221f158a88391416b574 (diff)
ffplay: Fix got_frame type.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
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;