lavc: set the default rc_initial_buffer_occupancy
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 14 Jan 2013 04:32:38 +0000 (05:32 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 15 Jan 2013 07:58:51 +0000 (08:58 +0100)
commitbff3607547fdbb6e32b3830a351e6a33280c1e0d
tree882dd67362c44ea4bf303473e00e156a3ed7ab90
parentd8c772de53d29afb1bada88afa859fce8489c668
lavc: set the default rc_initial_buffer_occupancy

rc_buffer_size is not set before.

Solve the initial the rate control underflow issue reported in
bug 222.

CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
avconv_opt.c
libavcodec/utils.c