diff options
Diffstat (limited to 'libavformat/iv8.c')
-rw-r--r-- | libavformat/iv8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/iv8.c b/libavformat/iv8.c index ad630b3eb4..1fa88c4eeb 100644 --- a/libavformat/iv8.c +++ b/libavformat/iv8.c @@ -45,8 +45,8 @@ static int read_header(AVFormatContext *s) if (!st) return AVERROR(ENOMEM); - st->codec->codec_type = AVMEDIA_TYPE_VIDEO; - st->codec->codec_id = AV_CODEC_ID_MPEG4; + st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; + st->codecpar->codec_id = AV_CODEC_ID_MPEG4; st->need_parsing = AVSTREAM_PARSE_FULL; avpriv_set_pts_info(st, 64, 1, 90000); |