X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fdetelecine.c;h=92d279d6fb015141943cedbc19b5036685b94447;hb=8425b4e14041ee668806cff29e458ae73bcd894f;hp=d3757cb69a97754b76dc1b1d2fcde54b28d2b2cb;hpb=bc1343c66c370c37b57458daee0ddef3412b427c;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/detelecine.c b/libhb/detelecine.c index d3757cb6..92d279d6 100644 --- a/libhb/detelecine.c +++ b/libhb/detelecine.c @@ -829,8 +829,7 @@ hb_filter_private_t * hb_detelecine_init( int pix_fmt, pv->width[1] = pv->width[2] = width >> 1; pv->height[1] = pv->height[2] = height >> 1; - int buf_size = 3 * width * height / 2; - pv->buf_out = hb_buffer_init( buf_size ); + pv->buf_out = hb_video_buffer_init( width, height ); struct pullup_context * ctx; pv->pullup_ctx = ctx = pullup_alloc_context();