[FFmpeg-cvslog] ffplay: Fix got_frame type.

Michael Niedermayer git at videolan.org
Fri Dec 16 15:33:45 CET 2011


ffmpeg | branch: release/0.9 | Michael Niedermayer <michaelni at gmx.at> | Wed Dec 14 00:38:22 2011 +0100| [f600d709f05abfd22d5424c223bc076e8fdcffc8] | committer: Michael Niedermayer

ffplay: Fix got_frame type.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Marton Balint <cus at passwd.hu>
(cherry picked from commit a5a1e3cb8a5f554818c2e491ab4d2cad833a4556)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f600d709f05abfd22d5424c223bc076e8fdcffc8
---

 ffplay.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 9f3be0c..b68f798 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;



More information about the ffmpeg-cvslog mailing list