[FFmpeg-cvslog] ffplay: fix weird brace placement in video_image_display()
Stefano Sabatini
git at videolan.org
Tue Apr 12 01:45:21 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Mon Apr 11 11:12:35 2011 +0200| [df149f6ce89cfe88b135b835b3b7df57f15f0da9] | committer: Stefano Sabatini
ffplay: fix weird brace placement in video_image_display()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df149f6ce89cfe88b135b835b3b7df57f15f0da9
---
ffplay.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 41a2bbc..bf4587e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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];
More information about the ffmpeg-cvslog
mailing list