[FFmpeg-devel] [PATCH] ffplay: fix weird brace placement in video_image_display()
Stefano Sabatini
stefano.sabatini-lala at poste.it
Mon Apr 11 11:14:08 CEST 2011
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
---
ffplay.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index ea362e4..5032586 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];
--
1.7.2.3
More information about the ffmpeg-devel
mailing list