[FFmpeg-soc] [soc]: r736 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Sun Aug 12 21:53:46 CEST 2007


Author: marco
Date: Sun Aug 12 21:53:45 2007
New Revision: 736

Log:
Fix indentation for the latest commit

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Sun Aug 12 21:53:45 2007
@@ -2328,12 +2328,12 @@ static int dirac_motion_compensation(AVC
     s->ref1width = s->width << 1;
     s->ref1height = s->height << 1;
     if (s->refframes[refidx1].halfpel[comp] == NULL) {
-    s->ref1data = av_malloc(s->ref1width * s->ref1height);
-    if (!s->ref1data) {
-        av_log(avctx, AV_LOG_ERROR, "av_malloc() failed\n");
-        return -1;
-    }
-    interpolate_frame_halfpel(ref1, s->width, s->height, s->ref1data, comp);
+        s->ref1data = av_malloc(s->ref1width * s->ref1height);
+        if (!s->ref1data) {
+            av_log(avctx, AV_LOG_ERROR, "av_malloc() failed\n");
+            return -1;
+        }
+        interpolate_frame_halfpel(ref1, s->width, s->height, s->ref1data, comp);
     } else {
         s->ref1data = s->refframes[refidx1].halfpel[comp];
         cacheframe1 = 2;



More information about the FFmpeg-soc mailing list