aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparseflac.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-06-14 18:14:35 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-14 18:14:35 +0000
commitb997b67c63c3d0c7db83755448e311710d03a48f (patch)
tree05491a24c45a3bd6dc5d021e12496e845b912ad8 /libavformat/oggparseflac.c
parent1bdf0fe7c79c9b7ba37ff7ba045c676f7ef1182f (diff)
downloadffmpeg-b997b67c63c3d0c7db83755448e311710d03a48f.tar.gz
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
Diffstat (limited to 'libavformat/oggparseflac.c')
-rw-r--r--libavformat/oggparseflac.c2
1 files changed, 1 insertions, 1 deletions
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);