OSDN Git Service

lavc: check channel count after decoder init
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 23 Oct 2012 04:56:00 +0000 (00:56 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 1 Nov 2012 15:29:13 +0000 (11:29 -0400)
commit0366664ef9af85ee052925f9a1a853d14d2f47a7
tree650cb8772361fbf43473d89222525db497b9cd6f
parentbb6941af2afd057c3897afb78d034de2c355b8a0
lavc: check channel count after decoder init

Ensures the decoder did not set channel count to an insanely high value
during initialization, which could cause large memory usage when it tries to
get a buffer during decoding.
libavcodec/utils.c