[FFmpeg-soc] [soc]: r5157 - spdif/spdif.c

bwolowiec subversion at mplayerhq.hu
Mon Aug 17 11:07:09 CEST 2009


Author: bwolowiec
Date: Mon Aug 17 11:07:09 2009
New Revision: 5157

Log:
cosmetics: Reindent.

Modified:
   spdif/spdif.c

Modified: spdif/spdif.c
==============================================================================
--- spdif/spdif.c	Mon Aug 17 11:06:36 2009	(r5156)
+++ spdif/spdif.c	Mon Aug 17 11:07:09 2009	(r5157)
@@ -260,9 +260,9 @@ static int spdif_write_packet(struct AVF
 #if HAVE_BIGENDIAN
     put_buffer(s->pb, pkt->data, pkt->size & ~1);
 #else
-        av_fast_malloc(&ctx->buffer, &ctx->buffer_size, pkt->size + FF_INPUT_BUFFER_PADDING_SIZE);
-        if (!ctx->buffer)
-            return AVERROR(ENOMEM);
+    av_fast_malloc(&ctx->buffer, &ctx->buffer_size, pkt->size + FF_INPUT_BUFFER_PADDING_SIZE);
+    if (!ctx->buffer)
+        return AVERROR(ENOMEM);
     bswap_buf16((uint16_t *)ctx->buffer, (uint16_t *)pkt->data, pkt->size >> 1);
     put_buffer(s->pb, ctx->buffer, pkt->size & ~1);
 #endif


More information about the FFmpeg-soc mailing list