summaryrefslogtreecommitdiff
path: root/libavcodec/wmaprodec.c
diff options
context:
space:
mode:
authorSascha Sommer <saschasommer@freenet.de>2011-01-08 15:35:56 +0000
committerSascha Sommer <saschasommer@freenet.de>2011-01-08 15:35:56 +0000
commitd7fa58c049bbc923efa048282084eccbd9f4890f (patch)
tree52d68f158a82adf9672a6edbc559a56cfb0a19cc /libavcodec/wmaprodec.c
parent8b5a780e73e1c2d2f8a4d0e0bbd1051f5a145653 (diff)
fix indentation
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmaprodec.c')
-rw-r--r--libavcodec/wmaprodec.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 888801d36b..62e36e2ba4 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavcodec/wmaprodec.c
@@ -1364,16 +1364,17 @@ static int decode_frame(WMAProDecodeCtx *s)
s->samples += s->num_channels * s->samples_per_frame;
if (s->len_prefix) {
- if (len != (get_bits_count(gb) - s->frame_offset) + 2) {
- /** 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",
- s->frame_num, len - (get_bits_count(gb) - s->frame_offset) - 1);
- s->packet_loss = 1;
- return 0;
- }
+ if (len != (get_bits_count(gb) - s->frame_offset) + 2) {
+ /** 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", s->frame_num,
+ len - (get_bits_count(gb) - s->frame_offset) - 1);
+ s->packet_loss = 1;
+ return 0;
+ }
- /** skip the rest of the frame data */
- skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1);
+ /** skip the rest of the frame data */
+ skip_bits_long(gb, len - (get_bits_count(gb) - s->frame_offset) - 1);
} else {
while (get_bits_count(gb) < s->num_saved_bits && get_bits1(gb) == 0) {
}