summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index ffabe28683..f405c4e801 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -517,8 +517,8 @@ skip:
if (!st)
goto skip;
st->id = startcode;
- st->codec->codec_type = type;
- st->codec->codec_id = codec_id;
+ st->codecpar->codec_type = type;
+ st->codecpar->codec_id = codec_id;
st->need_parsing = AVSTREAM_PARSE_FULL;
found: