Mercurial > libavcodec.hg
comparison ac3dec.c @ 6537:ea2f7235c3e1 libavcodec
cosmetics: indentation after last commit
author | jbr |
---|---|
date | Tue, 25 Mar 2008 23:34:49 +0000 |
parents | 8f2186d5daca |
children | b8f886bce6f5 |
comparison
equal
deleted
inserted
replaced
6536:8f2186d5daca | 6537:ea2f7235c3e1 |
---|---|
1141 /* copy input buffer to decoder context to avoid reading past the end | 1141 /* copy input buffer to decoder context to avoid reading past the end |
1142 of the buffer, which can be caused by a damaged input stream. */ | 1142 of the buffer, which can be caused by a damaged input stream. */ |
1143 memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_MAX_FRAME_SIZE)); | 1143 memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_MAX_FRAME_SIZE)); |
1144 init_get_bits(&s->gbc, s->input_buffer, buf_size * 8); | 1144 init_get_bits(&s->gbc, s->input_buffer, buf_size * 8); |
1145 } else { | 1145 } else { |
1146 init_get_bits(&s->gbc, buf, buf_size * 8); | 1146 init_get_bits(&s->gbc, buf, buf_size * 8); |
1147 } | 1147 } |
1148 | 1148 |
1149 /* parse the syncinfo */ | 1149 /* parse the syncinfo */ |
1150 err = ac3_parse_header(s); | 1150 err = ac3_parse_header(s); |
1151 if(err) { | 1151 if(err) { |