[FFmpeg-soc] [soc]: r3817 - dirac/libavcodec/diracdec.c

conrad subversion at mplayerhq.hu
Tue Nov 11 09:38:18 CET 2008


Author: conrad
Date: Tue Nov 11 09:38:18 2008
New Revision: 3817

Log:
Cosmetics: unsplit lines


Modified:
   dirac/libavcodec/diracdec.c

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	(original)
+++ dirac/libavcodec/diracdec.c	Tue Nov 11 09:38:18 2008
@@ -488,10 +488,8 @@ static int dirac_unpack_block_motion_dat
 
 #define DIVRNDUP(a, b) ((a + b - 1) / b)
 
-    s->sbwidth  = DIVRNDUP(s->source.width,
-                           (s->decoding.xbsep[0] << 2));
-    s->sbheight = DIVRNDUP(s->source.height,
-                           (s->decoding.ybsep[0] << 2));
+    s->sbwidth  = DIVRNDUP(s->source.width,  (s->decoding.xbsep[0] << 2));
+    s->sbheight = DIVRNDUP(s->source.height, (s->decoding.ybsep[0] << 2));
     s->blwidth  = s->sbwidth  << 2;
     s->blheight = s->sbheight << 2;
 
@@ -884,12 +882,10 @@ int dirac_decode_frame(AVCodecContext *a
     if (parse_frame(s) < 0)
         return -1;
 
-    if (avcodec_check_dimensions(avctx, s->source.width,
-                                 s->source.height))
+    if (avcodec_check_dimensions(avctx, s->source.width, s->source.height))
         return -1;
 
-    avcodec_set_dimensions(avctx, s->source.width,
-                           s->source.height);
+    avcodec_set_dimensions(avctx, s->source.width, s->source.height);
 
     if (s->picture.data[0] != NULL)
         avctx->release_buffer(avctx, &s->picture);



More information about the FFmpeg-soc mailing list