mirror of https://github.com/FFmpeg/FFmpeg.git
This code changes the input packet, which is read only and can in rare circumstances lead to decoder errors. (i run into one of these in the audio decoder, which corrupted the packet during av_find_stream_info() so that actual decoding that single packet failed later) Until a better fix is implemented, this commit limits the problem. A better fix might be to make the subtitle decoders not depend on data[size] = 0 or to copy their input when this is not the case.pull/47/merge
parent
98fc81b20d
commit
01923bab98
2 changed files with 11 additions and 8 deletions
Loading…
Reference in new issue