]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tty.c
xdcam hd422 720p24 fourcc in mov
[ffmpeg] / libavformat / tty.c
index 9a40fec471b6eebf1bb3a3f7d3cfc480f0b0d1ad..6aa6fa2c277c84a1ea10a4ad864814dac3dceada 100644 (file)
@@ -34,7 +34,7 @@
 
 typedef struct {
     int chars_per_frame;
-    uint64_t fsize;  /** file size less metadata buffer */
+    uint64_t fsize;  /**< file size less metadata buffer */
 } TtyDemuxContext;
 
 /**
@@ -75,7 +75,7 @@ static int read_header(AVFormatContext *avctx,
     if (!st)
         return AVERROR(ENOMEM);
     st->codec->codec_tag   = 0;
-    st->codec->codec_type  = CODEC_TYPE_VIDEO;
+    st->codec->codec_type  = AVMEDIA_TYPE_VIDEO;
     st->codec->codec_id    = CODEC_ID_ANSI;
     if (ap->width)  st->codec->width  = ap->width;
     if (ap->height) st->codec->height = ap->height;