mirror of https://github.com/FFmpeg/FFmpeg.git
The sample buffering logic does not take into account that the blocksize could change. Reset the buffer if the channel configuration changes, since if there are leftover samples, it is most likely a broken or misconcatenated stream. This could lead to negative numbers for missing_samples during decoding. Thanks to Michael Niedermeyer for pointing these out.pull/36/head
parent
00a63bfb87
commit
d9cdb7d8d6
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue