lavf: add AV_ to two remaining CODEC_ID_*.
This commit is contained in:
parent
7787a6c7ca
commit
b52421940f
@ -1602,7 +1602,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
|
||||
st->codec->extradata = av_mallocz(descriptor->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
|
||||
if (st->codec->extradata)
|
||||
memcpy(st->codec->extradata, descriptor->extradata, descriptor->extradata_size);
|
||||
} else if(st->codec->codec_id == CODEC_ID_H264) {
|
||||
} else if(st->codec->codec_id == AV_CODEC_ID_H264) {
|
||||
ff_generate_avci_extradata(st);
|
||||
}
|
||||
if (st->codec->codec_type != AVMEDIA_TYPE_DATA && (*essence_container_ul)[15] > 0x01) {
|
||||
|
@ -295,7 +295,7 @@ static av_cold int tedcaptions_read_header(AVFormatContext *avf)
|
||||
if (!st)
|
||||
return AVERROR(ENOMEM);
|
||||
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
|
||||
st->codec->codec_id = CODEC_ID_TEXT;
|
||||
st->codec->codec_id = AV_CODEC_ID_TEXT;
|
||||
avpriv_set_pts_info(st, 64, 1, 1000);
|
||||
st->probe_packets = 0;
|
||||
st->start_time = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user