]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vcr1.c
jpeglsdec: move pict debug log under correct if()
[ffmpeg] / libavcodec / vcr1.c
index a5e1bc657711275a4e5dec012fe057917a533ea6..cbbec53c2b0c6e6c6d986f068d32254ac62ce5a9 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "avcodec.h"
 #include "dsputil.h"
+#include "libavutil/internal.h"
 
 typedef struct VCR1Context {
     AVFrame picture;
@@ -145,7 +146,7 @@ static int vcr1_decode_frame(AVCodecContext *avctx, void *data,
 AVCodec ff_vcr1_decoder = {
     .name           = "vcr1",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_VCR1,
+    .id             = AV_CODEC_ID_VCR1,
     .priv_data_size = sizeof(VCR1Context),
     .init           = vcr1_decode_init,
     .close          = vcr1_decode_end,
@@ -185,7 +186,7 @@ static int vcr1_encode_frame(AVCodecContext *avctx, unsigned char *buf,
 AVCodec ff_vcr1_encoder = {
     .name           = "vcr1",
     .type           = AVMEDIA_TYPE_VIDEO,
-    .id             = CODEC_ID_VCR1,
+    .id             = AV_CODEC_ID_VCR1,
     .priv_data_size = sizeof(VCR1Context),
     .init           = vcr1_common_init,
     .encode         = vcr1_encode_frame,