mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user