OSDN Git Service

Fix broken vbv_buffer_init handling in libx264.c
authorJason Garrett-Glaser <jason@x264.com>
Sun, 6 Feb 2011 13:10:15 +0000 (05:10 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Feb 2011 02:33:55 +0000 (03:33 +0100)
commit2c855cea85f5e43afa2365dbba76e1917fa239b3
treea5b2f11a3f984507007d5816a3d21605857a2efa
parenta1b0a3c8bd111237658a8670c4373ed062e23c85
Fix broken vbv_buffer_init handling in libx264.c

Due to being pants-on-head retarded, libavcodec defaults this to zero, which
results in broken output.  This didn't affect ffmpeg.c, which sets it itself,
but caused problems for other calling apps using VBV.
(cherry picked from commit f7f8120fb9a06b5d7fbf5add48a0d8464319a332)
libavcodec/libx264.c