Skip to content
Snippets Groups Projects
Commit 9cd2ca99 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

avcodec/ralf: add support for mono


Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent c9fb81ff
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
init_get_bits(&gb, src + 2, table_size);
ctx->num_blocks = 0;
while (get_bits_left(&gb) > 0) {
ctx->block_size[ctx->num_blocks] = get_bits(&gb, 15);
ctx->block_size[ctx->num_blocks] = get_bits(&gb, 13 + avctx->channels);
if (get_bits1(&gb)) {
ctx->block_pts[ctx->num_blocks] = get_bits(&gb, 9);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment