Xi Wang 12d8ae2979 atrac3: avoid oversized shifting in decode_bytes()
When `off' is 0, `0x537F6103 << 32' in the following expression invokes
undefined behavior, the result of which is not necessarily 0.

    (0x537F6103 >> (off * 8)) | (0x537F6103 << (32 - (off * 8)))

Avoid oversized shifting.

CC: libav-stable@libav.org

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>

(cherry picked from commit eba1ff31304e407db3cefd7532108408f364367b)

Conflicts:
	libavcodec/atrac3.c
2013-03-15 13:33:25 +01:00
2012-03-08 22:07:55 +01:00
2012-01-21 12:04:02 +02:00
2013-01-03 15:20:12 +01:00
2012-02-26 10:03:16 +01:00
2013-01-12 17:59:41 +01:00
2013-03-09 18:54:27 +01:00
2013-01-03 15:30:45 +01:00
2011-03-16 21:54:39 +01:00
2012-01-19 00:19:43 +01:00
2011-04-07 02:54:12 +02:00
2013-01-03 15:30:45 +01:00
2013-01-03 15:30:45 +01:00
2013-03-09 18:54:28 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%