]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tty.c
lavf/movenc: add frame rate heuristic for timecode frame rate.
[ffmpeg] / libavformat / tty.c
index 6d8a6eb5415a2bf7603f881ae169a1f64a648db3..b86dd79ca021d0a0aa4b6adb41757f473c9d110e 100644 (file)
@@ -85,7 +85,7 @@ static int read_header(AVFormatContext *avctx)
     }
     st->codec->codec_tag   = 0;
     st->codec->codec_type  = AVMEDIA_TYPE_VIDEO;
-    st->codec->codec_id    = CODEC_ID_ANSI;
+    st->codec->codec_id    = AV_CODEC_ID_ANSI;
 
     if (s->video_size && (ret = av_parse_video_size(&width, &height, s->video_size)) < 0) {
         av_log (avctx, AV_LOG_ERROR, "Couldn't parse video size.\n");