1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02: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:
James Almer 2016-08-26 15:28:21 -03:00
parent f242d74d17
commit dc7e5adbc0

View File

@ -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;
}
}