mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/utils: fix a codecpar non use
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f242d74d17
commit
dc7e5adbc0
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue