aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_unsharp.c
diff options
context:
space:
mode:
authorChristian Schmidt <schmidt@digadd.de>2013-09-11 16:12:27 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-09-13 12:14:05 +0200
commitd9cdb7d8d6d828bb5497ea3f0fd7edd2f3f6cc30 (patch)
tree494553f4d5f8afeef8c3d423b067e83de1bd8c96 /libavfilter/vf_unsharp.c
parent00a63bfb87af6cf7bcdf85848830a90c7e052d41 (diff)
downloadffmpeg-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 'libavfilter/vf_unsharp.c')
0 files changed, 0 insertions, 0 deletions