Commit dc7e5adb authored by James Almer's avatar James Almer

avformat/utils: fix a codecpar non use

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent f242d74d
......@@ -617,7 +617,7 @@ static void force_codec_ids(AVFormatContext *s, AVStream *st)
break;
case AVMEDIA_TYPE_DATA:
if (s->data_codec_id)
st->codec->codec_id = s->data_codec_id;
st->codecpar->codec_id = s->data_codec_id;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment