|
@@ -1811,13 +1811,12 @@ int av_find_stream_info(AVFormatContext *ic) |
|
|
ret = count; |
|
|
ret = count; |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
|
|
|
|
|
|
} |
|
|
/* we did not get all the codec info, but we read too much data */ |
|
|
/* we did not get all the codec info, but we read too much data */ |
|
|
if (read_size >= MAX_READ_SIZE) { |
|
|
if (read_size >= MAX_READ_SIZE) { |
|
|
ret = count; |
|
|
ret = count; |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* NOTE: a new stream can be added there if no header in file |
|
|
/* NOTE: a new stream can be added there if no header in file |
|
|
(AVFMTCTX_NOHEADER) */ |
|
|
(AVFMTCTX_NOHEADER) */ |
|
|