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 08:12:41 +0000 (09:12 +0100)
commite44d56b18d46957fceaefe7f8840263c5cd12d37
tree03dd8c9810abe3ff7bc46c3d1c7ca73e64e83cda
parent71e00caeab89d9beeef9c947673f72e992bd109c
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>
(cherry picked from commit bff3607547fdbb6e32b3830a351e6a33280c1e0d)

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