[vlc-commits] mediacodec: fix style

Felix Abecassis git at videolan.org
Wed Feb 19 12:57:44 CET 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Wed Feb 19 11:25:37 2014 +0100| [d3c2782b73f159b57576034de811074ed4249e2c] | committer: Jean-Baptiste Kempf

mediacodec: fix style

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3c2782b73f159b57576034de811074ed4249e2c
---

 modules/codec/omxil/android_mediacodec.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/codec/omxil/android_mediacodec.c b/modules/codec/omxil/android_mediacodec.c
index 74091db..bc990b1 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -758,8 +758,7 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t **pp_block)
     /* Use the aspect ratio provided by the input (ie read from packetizer).
      * Don't check the current value of the aspect ratio in fmt_out, since we
      * want to allow changes in it to propagate. */
-    if (p_dec->fmt_in.video.i_sar_num != 0 && p_dec->fmt_in.video.i_sar_den != 0)
-    {
+    if (p_dec->fmt_in.video.i_sar_num != 0 && p_dec->fmt_in.video.i_sar_den != 0) {
         p_dec->fmt_out.video.i_sar_num = p_dec->fmt_in.video.i_sar_num;
         p_dec->fmt_out.video.i_sar_den = p_dec->fmt_in.video.i_sar_den;
     }



More information about the vlc-commits mailing list