Mercurial > libavcodec.hg
comparison aac_ac3_parser.c @ 6443:e3adb7e96812 libavcodec
Detect and prevent reading over the end of counts_*. We pass the error
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.
author | michael |
---|---|
date | Tue, 04 Mar 2008 21:58:34 +0000 |
parents | 49d225414a3f |
children | 32b984487899 |
comparison
equal
deleted
inserted
replaced
6442:28e45bf84973 | 6443:e3adb7e96812 |
---|