mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
This commit is contained in:
@@ -124,7 +124,7 @@ static int tmv_read_header(AVFormatContext *s)
|
||||
|
||||
vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
vst->codec->codec_id = AV_CODEC_ID_TMV;
|
||||
vst->codec->pix_fmt = PIX_FMT_PAL8;
|
||||
vst->codec->pix_fmt = AV_PIX_FMT_PAL8;
|
||||
vst->codec->width = char_cols * 8;
|
||||
vst->codec->height = char_rows * 8;
|
||||
avpriv_set_pts_info(vst, 32, fps.den, fps.num);
|
||||
|
||||
Reference in New Issue
Block a user