[FFmpeg-cvslog] r9902 - trunk/libavcodec/dnxhddec.c

bcoudurier subversion
Sat Aug 4 15:18:30 CEST 2007


Author: bcoudurier
Date: Sat Aug  4 15:18:30 2007
New Revision: 9902

Log:
indentation

Modified:
   trunk/libavcodec/dnxhddec.c

Modified: trunk/libavcodec/dnxhddec.c
==============================================================================
--- trunk/libavcodec/dnxhddec.c	(original)
+++ trunk/libavcodec/dnxhddec.c	Sat Aug  4 15:18:30 2007
@@ -336,12 +336,12 @@ static int dnxhd_decode_frame(AVCodecCon
     avcodec_set_dimensions(avctx, ctx->width, ctx->height);
 
     if (first_field) {
-    if (ctx->picture.data[0])
-        avctx->release_buffer(avctx, &ctx->picture);
-    if (avctx->get_buffer(avctx, &ctx->picture) < 0) {
-        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
-        return -1;
-    }
+        if (ctx->picture.data[0])
+            avctx->release_buffer(avctx, &ctx->picture);
+        if (avctx->get_buffer(avctx, &ctx->picture) < 0) {
+            av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+            return -1;
+        }
     }
 
     dnxhd_decode_macroblocks(ctx, buf + 0x280, buf_size - 0x280);




More information about the ffmpeg-cvslog mailing list