]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flvdec.c
avcodec: Replace get_bits_long() by get_bits() where possible
[ffmpeg] / libavcodec / flvdec.c
index f9beb40afa6d67657f892313779040f84ee9f824..c19f07fe0561d47c254a906a14d649c7b6e519bc 100644 (file)
@@ -30,7 +30,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s)
     int format, width, height;
 
     /* picture header */
-    if (get_bits_long(&s->gb, 17) != 1) {
+    if (get_bits(&s->gb, 17) != 1) {
         av_log(s->avctx, AV_LOG_ERROR, "Bad picture start code\n");
         return AVERROR_INVALIDDATA;
     }