From a25dac976a4478331e4db86d44c3db4456c93eff Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 6 Jun 2016 13:20:17 +0200 Subject: Use bitstream_init8() where appropriate --- libavformat/oggparseflac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparseflac.c') diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index 90b1495c51..0946a3b7cf 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -41,7 +41,7 @@ flac_header (AVFormatContext * s, int idx) if (os->buf[os->pstart] == 0xff) return 0; - bitstream_init(&bc, os->buf + os->pstart, os->psize * 8); + bitstream_init8(&bc, os->buf + os->pstart, os->psize); bitstream_skip(&bc, 1); /* metadata_last */ mdt = bitstream_read(&bc, 7); -- cgit v1.2.3