mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fix indentation
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8b5a780e73
commit
d7fa58c049
@ -1364,16 +1364,17 @@ static int decode_frame(WMAProDecodeCtx *s)
|
|||||||
s->samples += s->num_channels * s->samples_per_frame;
|
s->samples += s->num_channels * s->samples_per_frame;
|
||||||
|
|
||||||
if (s->len_prefix) {
|
if (s->len_prefix) {
|
||||||
if (len != (get_bits_count(gb) - s->frame_offset) + 2) {
|
if (len != (get_bits_count(gb) - s->frame_offset) + 2) {
|
||||||
/** FIXME: not sure if this is always an error */
|
/** FIXME: not sure if this is always an error */
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "frame[%i] would have to skip %i bits\n",
|
av_log(s->avctx, AV_LOG_ERROR,
|
||||||
s->frame_num, len - (get_bits_count(gb) - s->frame_offset) - 1);
|
"frame[%i] would have to skip %i bits\n", s->frame_num,
|
||||||
s->packet_loss = 1;
|
len - (get_bits_count(gb) - s->frame_offset) - 1);
|
||||||
return 0;
|
s->packet_loss = 1;
|
||||||
}
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/** skip the rest of the frame data */
|
/** skip the rest of the frame data */
|
||||||
skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1);
|
skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1);
|
||||||
} else {
|
} else {
|
||||||
while (get_bits_count(gb) < s->num_saved_bits && get_bits1(gb) == 0) {
|
while (get_bits_count(gb) < s->num_saved_bits && get_bits1(gb) == 0) {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user