[SCM] libav/experimental: fix indentation
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:21:34 UTC 2013
The following commit has been merged in the experimental branch:
commit d7fa58c049bbc923efa048282084eccbd9f4890f
Author: Sascha Sommer <saschasommer at freenet.de>
Date: Sat Jan 8 15:35:56 2011 +0000
fix indentation
Originally committed as revision 26266 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 888801d..62e36e2 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) {
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list