aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca_parser.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-21 10:36:27 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-22 09:17:27 -0800
commite30b3e59a4f3004337cb1623b2aac988ce52b93f (patch)
treeea397dc8de54b6b9bad4a68a783b1e013f81cf75 /libavcodec/dca_parser.c
parent58700edb94a3ddd7267fd7430d19b4a7e2a6b82b (diff)
downloadffmpeg-e30b3e59a4f3004337cb1623b2aac988ce52b93f.tar.gz
rmdec: when using INT4 deinterleaving, error out if sub_packet_h <= 1.
We read sub_packet_h / 2 packets per line of data (during deinterleaving), which equals zero if sub_packet_h <= 1, thus causing us to not read any data, leading to an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/dca_parser.c')
0 files changed, 0 insertions, 0 deletions