]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/cdg.c
ffmpeg: use close_output_stream more systematically.
[ffmpeg] / libavformat / cdg.c
index 256fc21873c43466729a6c3e05ababbd7d8532be..2d40d3dc55df5aace3962c74c6a29de6328d7931 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);