diff options
Diffstat (limited to 'libavformat/dtshddec.c')
-rw-r--r-- | libavformat/dtshddec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dtshddec.c b/libavformat/dtshddec.c index 0fd0304703..f3af096f3a 100644 --- a/libavformat/dtshddec.c +++ b/libavformat/dtshddec.c @@ -60,9 +60,9 @@ static int dtshd_read_header(AVFormatContext *s) st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); - st->codec->codec_type = AVMEDIA_TYPE_AUDIO; - st->codec->codec_id = AV_CODEC_ID_DTS; - st->need_parsing = AVSTREAM_PARSE_FULL_RAW; + st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; + st->codecpar->codec_id = AV_CODEC_ID_DTS; + st->need_parsing = AVSTREAM_PARSE_FULL_RAW; while (!avio_feof(pb)) { chunk_type = avio_rb64(pb); |