From 96b2fe5e78d4f760b532453168bf4651cdbddcf1 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Thu, 12 Jan 2012 17:49:30 -0300 Subject: [PATCH] --- yaml --- r: 286423 b: refs/heads/master c: bb869368f36abecc427ffa94193439a05c0aac8d h: refs/heads/master i: 286421: 58a6b1fd82725d921782f1b3d887c3e70226519c 286419: 412af1cfa7ff2c9f93ac1a4a7cd7715af924f2b2 286415: 182c74b061af4a03d20db53d93a2b3c93a68cef6 v: v3 --- [refs] | 2 +- trunk/drivers/media/video/s5p-mfc/s5p_mfc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e9767eedafae..5114247562f5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b1aa60892ecc1ba03185e7dfed99cc9202ef03b7 +refs/heads/master: bb869368f36abecc427ffa94193439a05c0aac8d diff --git a/trunk/drivers/media/video/s5p-mfc/s5p_mfc.c b/trunk/drivers/media/video/s5p-mfc/s5p_mfc.c index e43e128baf5f..90cc05855ecb 100644 --- a/trunk/drivers/media/video/s5p-mfc/s5p_mfc.c +++ b/trunk/drivers/media/video/s5p-mfc/s5p_mfc.c @@ -475,7 +475,7 @@ static void s5p_mfc_handle_seq_done(struct s5p_mfc_ctx *ctx, ctx->mv_size = 0; } ctx->dpb_count = s5p_mfc_get_dpb_count(); - if (ctx->img_width == 0 || ctx->img_width == 0) + if (ctx->img_width == 0 || ctx->img_height == 0) ctx->state = MFCINST_ERROR; else ctx->state = MFCINST_HEAD_PARSED;