]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tta.c
shorten: Use a checked bytestream reader for the wave header
[ffmpeg] / libavcodec / tta.c
index f8ad34f1908090c719ad55746d6dab6f23b05c59..e9c4285dd6e26cbc32f419524e3c5d11342f357c 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #define BITSTREAM_READER_LE
-//#define DEBUG
 #include <limits.h>
 #include "avcodec.h"
 #include "get_bits.h"
@@ -222,7 +221,7 @@ static av_cold int tta_decode_init(AVCodecContext * avctx)
             return -1;
         }
         if (s->format == FORMAT_ENCRYPTED) {
-            av_log_missing_feature(s->avctx, "Encrypted TTA", 0);
+            avpriv_report_missing_feature(s->avctx, "Encrypted TTA");
             return AVERROR_PATCHWELCOME;
         }
         avctx->channels = s->channels = get_bits(&s->gb, 16);