Mercurial > libavcodec.hg
diff mpegaudiodectab.h @ 4830:5a523aee7379 libavcodec
When dst_length == 0 bit_length has to be 0, too, but the current code still
calls decode_rbsp_trailing() and therefore bit_length might get negative.
Although the remaining code is able to handle a negative bit_length, avoid
the calculation at all by setting bit_length to 0 for dst_length == 0.
patch by Reinhard Nissl, rnissl gmx de
author | diego |
---|---|
date | Mon, 09 Apr 2007 14:10:07 +0000 |
parents | af40e7d99b8c |
children | 70f194a2ee53 |