vorbis: Validate that the floor 1 X values contain no duplicates.
authorAlex Converse <alex.converse@gmail.com>
Tue, 5 Jun 2012 01:27:03 +0000 (18:27 -0700)
committerAlex Converse <alex.converse@gmail.com>
Tue, 5 Jun 2012 16:51:51 +0000 (09:51 -0700)
commitecf79c4d3e8baaf2f303278ef81db6f8407656bc
tree5a0f45fbc87f874fc2194128f37361fc23074657
parent503f2feb143b58bf9b7850ef00ec0bb02d509f78
vorbis: Validate that the floor 1 X values contain no duplicates.

Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.
libavcodec/vorbis.c
libavcodec/vorbis.h
libavcodec/vorbisdec.c
libavcodec/vorbisenc.c