diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-11 11:12:35 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-12 01:37:00 +0200 |
commit | df149f6ce89cfe88b135b835b3b7df57f15f0da9 (patch) | |
tree | 073eacd9769792ae899215f58cc3d139a6523739 /ffplay.c | |
parent | 3338be24e83c49196cc13ff4d49c402bc27ace90 (diff) | |
download | ffmpeg-df149f6ce89cfe88b135b835b3b7df57f15f0da9.tar.gz |
ffplay: fix weird brace placement in video_image_display()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -710,14 +710,11 @@ static void video_image_display(VideoState *is) aspect_ratio = 1.0; aspect_ratio *= (float)vp->width / (float)vp->height; - if (is->subtitle_st) - { - if (is->subpq_size > 0) - { + if (is->subtitle_st) { + if (is->subpq_size > 0) { sp = &is->subpq[is->subpq_rindex]; - if (vp->pts >= sp->pts + ((float) sp->sub.start_display_time / 1000)) - { + if (vp->pts >= sp->pts + ((float) sp->sub.start_display_time / 1000)) { SDL_LockYUVOverlay (vp->bmp); pict.data[0] = vp->bmp->pixels[0]; |