]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/cdg.c
zmbvdec: Check the buffer size for uncompressed data
[ffmpeg] / libavformat / cdg.c
index 3b7b739c6ced436d1da26dfab351819d52b04a1a..974880a63039d36352edcc33ca220a2dc217b6ee 100644 (file)
@@ -36,7 +36,7 @@ static int read_header(AVFormatContext *s)
         return AVERROR(ENOMEM);
 
     vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    vst->codec->codec_id   = CODEC_ID_CDGRAPHICS;
+    vst->codec->codec_id   = AV_CODEC_ID_CDGRAPHICS;
 
     /// 75 sectors/sec * 4 packets/sector = 300 packets/sec
     avpriv_set_pts_info(vst, 32, 1, 300);