From b997b67c63c3d0c7db83755448e311710d03a48f Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 14 Jun 2007 18:14:35 +0000 Subject: use get_bits_long() where needed patch by Aurelien Jacobs, aurel gnuage org Originally committed as revision 9314 to svn://svn.ffmpeg.org/ffmpeg/trunk --- 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 8960088d87..b2bdcd4dcd 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -49,7 +49,7 @@ flac_header (AVFormatContext * s, int idx) skip_bits(&gb, 4*8); /* "fLaC" */ /* METADATA_BLOCK_HEADER */ - if (get_bits(&gb, 32) != FLAC_STREAMINFO_SIZE) + if (get_bits_long(&gb, 32) != FLAC_STREAMINFO_SIZE) return -1; skip_bits(&gb, 16*2+24*2); -- cgit v1.2.3