wav: make sure neither data_size nor sample_count is negative.
authorTomas Härdin <tomas.hardin@codemill.se>
Tue, 17 May 2011 17:52:36 +0000 (19:52 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 13 Jul 2011 09:57:51 +0000 (11:57 +0200)
commit1cf18de982a0a62fa9214a6c4a5becc1a32d9caf
tree8ef22188976a9dcdf0a7902ce69188471bd8458f
parent7f84055e2d3814972a61515da7f1d2659b185ea0
wav: make sure neither data_size nor sample_count is negative.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/wav.c