mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-04 22:50:24 +00:00
avformat/mpegts: don't check impossible branches
Quit dvb extension handling when the descriptor have been processed
This commit is contained in:
parent
d5a913f99f
commit
cda069b092
1 changed files with 2 additions and 0 deletions
|
|
@ -2280,6 +2280,7 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
|
|||
sti->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
sti->need_context_update = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (ext_desc_tag == SUPPLEMENTARY_AUDIO_DESCRIPTOR) {
|
||||
int flags;
|
||||
|
|
@ -2317,6 +2318,7 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
|
|||
if (language[0])
|
||||
av_dict_set(&st->metadata, "language", language, 0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case AC3_DESCRIPTOR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue