aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-26 10:03:14 +0000
committerTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-26 10:03:14 +0000
commit133cc989ddd71c2c9a0d956dc7c0056cd6b8eef7 (patch)
treeb623b352719d185b0f5ac94a5ccf340b66519d0a /libavformat
parent2fdb2b54380c48f0a0c79943bc7c16d8a575400d (diff)
downloadffmpeg-133cc989ddd71c2c9a0d956dc7c0056cd6b8eef7.tar.gz
Cosmetic changes.
Originally committed as revision 24944 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/a64.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/a64.c b/libavformat/a64.c
index 4b60a4ccf4..3bc03a6794 100644
--- a/libavformat/a64.c
+++ b/libavformat/a64.c
@@ -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 AVFormatContext *s, AVPacket *pkt)
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 */