Browse Source

metasound & twinvqdec: return the number of read bytes from read_bitstream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
cbb7f56dfe
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/metasound.c
  2. +1
    -1
      libavcodec/twinvqdec.c

+ 1
- 1
libavcodec/metasound.c View File

@@ -226,7 +226,7 @@ static int metasound_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
}
}

return 0;
return (get_bits_count(&gb) + 7) / 8;
}

typedef struct MetasoundProps {


+ 1
- 1
libavcodec/twinvqdec.c View File

@@ -312,7 +312,7 @@ static int twinvq_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
}
}

return 0;
return (get_bits_count(&gb) + 7) / 8;
}

static av_cold int twinvq_decode_init(AVCodecContext *avctx)


Loading…
Cancel
Save