diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-16 18:17:00 +0100 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-17 22:31:11 +0100 |
commit | d72858f89f7062b04968cf28f3661ebe1ba398f8 (patch) | |
tree | c7ecedfe54083ce626b491356439be819843ffb2 /ffplay.c | |
parent | db323491cd4ad839518b9874a3aad12f4d311ea4 (diff) | |
download | ffmpeg-d72858f89f7062b04968cf28f3661ebe1ba398f8.tar.gz |
Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1588,9 +1588,7 @@ static int get_video_frame(VideoState *is, AVFrame *frame, int64_t *pts, AVPacke if (*pts == AV_NOPTS_VALUE) { *pts = 0; } - } - if (got_picture){ is->skip_frames_index += 1; if(is->skip_frames_index >= is->skip_frames){ is->skip_frames_index -= FFMAX(is->skip_frames, 1.0); |