]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/escape124.c
avfilter/transform: Stop exporting internal functions
[ffmpeg] / libavcodec / escape124.c
index cffd3e12b1ad755408db93dbd0cd2f84661f5d09..94c2a961e6a024e0b9e29df02ee682e246f83052 100644 (file)
@@ -252,7 +252,7 @@ static int escape124_decode_frame(AVCodecContext *avctx,
             if (i == 2) {
                 // This codebook can be cut off at places other than
                 // powers of 2, leaving some of the entries undefined.
-                cb_size = get_bits_long(&gb, 20);
+                cb_size = get_bits(&gb, 20);
                 if (!cb_size) {
                     av_log(avctx, AV_LOG_ERROR, "Invalid codebook size 0.\n");
                     return AVERROR_INVALIDDATA;