[FFmpeg-cvslog] avformat/oggparseflac: Replace skip_bits_long() by skip_bits() where possible

Michael Niedermayer git at videolan.org
Tue Dec 31 20:05:19 EET 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Nov 24 15:17:12 2019 +0100| [e90062107442ea5853e87f60b1df14ebb2b5b92d] | committer: Michael Niedermayer

avformat/oggparseflac: Replace skip_bits_long() by skip_bits() where possible

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e90062107442ea5853e87f60b1df14ebb2b5b92d
---

 libavformat/oggparseflac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c
index a51ff251ad..4e85b05c67 100644
--- a/libavformat/oggparseflac.c
+++ b/libavformat/oggparseflac.c
@@ -50,7 +50,7 @@ flac_header (AVFormatContext * s, int idx)
         skip_bits_long(&gb, 4*8); /* "FLAC" */
         if(get_bits(&gb, 8) != 1) /* unsupported major version */
             return -1;
-        skip_bits_long(&gb, 8 + 16); /* minor version + header count */
+        skip_bits(&gb, 8 + 16);   /* minor version + header count */
         skip_bits_long(&gb, 4*8); /* "fLaC" */
 
         /* METADATA_BLOCK_HEADER */



More information about the ffmpeg-cvslog mailing list