]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bink.c
roqaudioenc: return AVERROR codes instead of -1
[ffmpeg] / libavcodec / bink.c
index b55ea076992c6b3306df22d06829419cfe63129b..f8a9b5bc73717263ea2fbc56030bc86811631a9f 100644 (file)
@@ -27,7 +27,7 @@
 #include "binkdsp.h"
 #include "mathops.h"
 
-#define ALT_BITSTREAM_READER_LE
+#define BITSTREAM_READER_LE
 #include "get_bits.h"
 
 #define BINK_FLAG_ALPHA 0x00100000
@@ -1298,7 +1298,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
     avctx->pix_fmt = c->has_alpha ? PIX_FMT_YUVA420P : PIX_FMT_YUV420P;
 
     avctx->idct_algo = FF_IDCT_BINK;
-    dsputil_init(&c->dsp, avctx);
+    ff_dsputil_init(&c->dsp, avctx);
     ff_binkdsp_init(&c->bdsp);
 
     init_bundles(c);