diff options
Diffstat (limited to 'libavformat/aqtitledec.c')
-rw-r--r-- | libavformat/aqtitledec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aqtitledec.c b/libavformat/aqtitledec.c index 7c864c8e10..f0e840b0f7 100644 --- a/libavformat/aqtitledec.c +++ b/libavformat/aqtitledec.c @@ -58,8 +58,8 @@ static int aqt_read_header(AVFormatContext *s) if (!st) return AVERROR(ENOMEM); avpriv_set_pts_info(st, 64, aqt->frame_rate.den, aqt->frame_rate.num); - st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE; - st->codec->codec_id = AV_CODEC_ID_TEXT; + st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE; + st->codecpar->codec_id = AV_CODEC_ID_TEXT; while (!avio_feof(s->pb)) { char line[4096]; |