Revision 4c5cdb493c25a0ffb05022e7afa001725e0adc62 authored by Mans Rullgard on 08 October 2011, 01:09:42 UTC, committed by Michael Niedermayer on 03 November 2011, 23:59:53 UTC
If flush_put_bits() is called when the 32-bit buffer is empty,
e.g. after writing a multiple of 32 bits, and invalid shift by
32 is performed.  Since flush_put_bits() is called infrequently,
this additional check should have negligible performance impact.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit ac6eab1496aad6f8b09deabbef4fe5fd829e142d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
1 parent 06b15b3
History
File Mode Size
doc
ffpresets
libavcodec
libavdevice
libavfilter
libavformat
libavutil
libpostproc
libswscale
mt-work
tests
tools
.gitignore -rw-r--r-- 706 bytes
COPYING.GPLv2 -rw-r--r-- 17.7 KB
COPYING.GPLv3 -rw-r--r-- 34.3 KB
COPYING.LGPLv2.1 -rw-r--r-- 25.9 KB
COPYING.LGPLv3 -rw-r--r-- 7.5 KB
CREDITS -rw-r--r-- 1.0 KB
Doxyfile -rw-r--r-- 66.8 KB
INSTALL -rw-r--r-- 564 bytes
LICENSE -rw-r--r-- 2.0 KB
MAINTAINERS -rw-r--r-- 18.1 KB
Makefile -rw-r--r-- 8.7 KB
README -rw-r--r-- 164 bytes
RELEASE -rw-r--r-- 6 bytes
VERSION -rw-r--r-- 6 bytes
cmdutils.c -rw-r--r-- 31.2 KB
cmdutils.h -rw-r--r-- 8.5 KB
cmdutils_common_opts.h -rw-r--r-- 951 bytes
common.mak -rw-r--r-- 2.6 KB
configure -rwxr-xr-x 105.1 KB
ffmpeg.c -rw-r--r-- 168.7 KB
ffplay.c -rw-r--r-- 96.5 KB
ffprobe.c -rw-r--r-- 14.8 KB
ffserver.c -rw-r--r-- 155.1 KB
ffserver.h -rw-r--r-- 1004 bytes
subdir.mak -rw-r--r-- 3.1 KB
version.sh -rwxr-xr-x 722 bytes

README

back to top