aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/rational.h
diff options
context:
space:
mode:
authorAaron Colwell <acolwell@chromium.org>2012-03-07 14:51:00 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-08 11:52:33 -0800
commit12623a8026c1657aedce2ef10d58bffba85dee2d (patch)
tree7f5641a76f392877ebeede3eb6386402d901f2ed /libavutil/rational.h
parentef0d779706c77ca9007527bd8d41e9400682f4e4 (diff)
downloadffmpeg-12623a8026c1657aedce2ef10d58bffba85dee2d.tar.gz
vorbisdec: avoid invalid memory access
This fixes some invalid memory access caused later in the function by res_chan[] not being set for all channels. This happens when a channel doesn't appear a submap. This change simply returns a decoder error when this situation is detected. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavutil/rational.h')
0 files changed, 0 insertions, 0 deletions