Subtitle Streams in AVI Files is limited to 1000000
I build AVI files with a SRT subtitle stream (txts stream - GAB2), this work nice if the size of the subtitle in less than 1000000 bytes.
I saw in the modules/demux/avi/avi.c, in the AVI_ExtractSubtitle, the following code:
if( i_size > 1000000 )
goto exit;
This should explain the problem, but why VLC has this limitation?
It could be nice to remove this limitation. I think it should not be too hard because it works well with a separate SRT file with a size greater than 1MB.
I can provide a sample file, but it's around 2GB.