# HG changeset patch # User bindhammer # Date 1282816994 0 # Node ID d2d2972c97153df487ed8db1f2b8bbb4d7f3fb5c # Parent e60cca9e99a3b32bc752e322720cc2688b2dcdc4 Cosmetic changes. diff -r e60cca9e99a3 -r d2d2972c9715 a64.c --- a/a64.c Thu Aug 26 10:03:11 2010 +0000 +++ b/a64.c Thu Aug 26 10:03:14 2010 +0000 @@ -32,7 +32,7 @@ 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 @@ 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 */