diff options
author | Christian Schmidt <schmidt@digadd.de> | 2013-09-11 16:12:27 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-09-13 12:14:05 +0200 |
commit | d9cdb7d8d6d828bb5497ea3f0fd7edd2f3f6cc30 (patch) | |
tree | 494553f4d5f8afeef8c3d423b067e83de1bd8c96 /libswscale/rgb2rgb.h | |
parent | 00a63bfb87af6cf7bcdf85848830a90c7e052d41 (diff) | |
download | ffmpeg-d9cdb7d8d6d828bb5497ea3f0fd7edd2f3f6cc30.tar.gz |
pcm-dvd: Support channel configuration changes
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.
Diffstat (limited to 'libswscale/rgb2rgb.h')
0 files changed, 0 insertions, 0 deletions