4xm: Prevent buffer overreads.
authorAneesh Dogra <lionaneesh@gmail.com>
Wed, 4 Jan 2012 19:58:21 +0000 (01:28 +0530)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 5 Jan 2012 17:37:16 +0000 (09:37 -0800)
commit9b55b4bb3acc5f41b00eed5b93af4cd8400c9145
treea0fe8a719fec37cf679aa28db748dcde3a2d0d8b
parente268a352af893e47bd3ea2aed90761cb0b4feca7
4xm: Prevent buffer overreads.

4xm decoder while decoding i2 frames can overread the buffer if proper checks
are not made.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/4xm.c