[FFmpeg-cvslog] r24944 - trunk/libavformat/a64.c

bindhammer subversion
Thu Aug 26 12:03:14 CEST 2010


Author: bindhammer
Date: Thu Aug 26 12:03:14 2010
New Revision: 24944

Log:
Cosmetic changes.

Modified:
   trunk/libavformat/a64.c

Modified: trunk/libavformat/a64.c
==============================================================================
--- trunk/libavformat/a64.c	Thu Aug 26 12:03:11 2010	(r24943)
+++ trunk/libavformat/a64.c	Thu Aug 26 12:03:14 2010	(r24944)
@@ -32,7 +32,7 @@ typedef struct A64MuxerContext {
 
 static int a64_write_header(struct AVFormatContext *s)
 {
-    AVCodecContext *avctx=s->streams[0]->codec;
+    AVCodecContext *avctx = s->streams[0]->codec;
     A64MuxerContext *c = s->priv_data;
     uint8_t header[5] = {
         0x00, //load
@@ -111,16 +111,16 @@ static int a64_write_packet(struct AVFor
                     put_buffer(s->pb, pkt->data + ch_chunksize * i, ch_chunksize);
                 }
                 else {
-                       /* a bit ugly, but is there an alternative to put many zeros? */
-                        for(j = 0; j < ch_chunksize; j++) put_byte(s->pb, 0);
+                    /* a bit ugly, but is there an alternative to put many zeros? */
+                    for(j = 0; j < ch_chunksize; j++) put_byte(s->pb, 0);
                 }
                 if(c->prev_pkt.data) {
                     /* put frame (screen + colram) from last packet into buffer */
                     put_buffer(s->pb, c->prev_pkt.data + charset_size + frame_size * i, frame_size);
                 }
                 else {
-                       /* a bit ugly, but is there an alternative to put many zeros? */
-                        for(j = 0; j < frame_size; j++) put_byte(s->pb, 0);
+                    /* a bit ugly, but is there an alternative to put many zeros? */
+                    for(j = 0; j < frame_size; j++) put_byte(s->pb, 0);
                 }
             }
             /* backup current packet for next turn */



More information about the ffmpeg-cvslog mailing list