|
|
@@ -3139,7 +3139,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) |
|
|
st->codec->time_base = st->time_base; |
|
|
st->codec->time_base = st->time_base; |
|
|
} |
|
|
} |
|
|
// only for the split stuff |
|
|
// only for the split stuff |
|
|
if (!st->parser && !(ic->flags & AVFMT_FLAG_NOPARSE)) { |
|
|
|
|
|
|
|
|
if (!st->parser && !(ic->flags & AVFMT_FLAG_NOPARSE) && st->request_probe <= 0) { |
|
|
st->parser = av_parser_init(st->codec->codec_id); |
|
|
st->parser = av_parser_init(st->codec->codec_id); |
|
|
if (st->parser) { |
|
|
if (st->parser) { |
|
|
if (st->need_parsing == AVSTREAM_PARSE_HEADERS) { |
|
|
if (st->need_parsing == AVSTREAM_PARSE_HEADERS) { |
|
|
|