On 10/23/12 11:43 PM, Justin Ruggles wrote:
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 |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


I'd make it tunable (e.g. adding an -strict insane value for the cases in which it is needed).

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to