decoding.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17819
9553f0bf-9b14-0410-a0b8-
cfaf0461ba5b
s->bitstream_index=0;
return -1;
}
s->bitstream_index=0;
return -1;
}
+ *data_size = s->blocksize * s->channels * (s->is32 ? 4 : 2);
+ bytes_read = (get_bits_count(&s->gb)+7)/8;
#define DECORRELATE(left, right)\
assert(s->channels == 2);\
#define DECORRELATE(left, right)\
assert(s->channels == 2);\
DECORRELATE( (a-=b>>1) + b, a)
}
DECORRELATE( (a-=b>>1) + b, a)
}
- *data_size = s->blocksize * s->channels * (s->is32 ? 4 : 2);
-
- bytes_read = (get_bits_count(&s->gb)+7)/8;
end:
if (bytes_read > buf_size) {
av_log(s->avctx, AV_LOG_ERROR, "overread: %d\n", bytes_read - buf_size);
end:
if (bytes_read > buf_size) {
av_log(s->avctx, AV_LOG_ERROR, "overread: %d\n", bytes_read - buf_size);