avcodec/proresenc_kostya: set initial max_slice_size based on frame_size_upper_bound
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Aug 2014 18:42:27 +0000 (20:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Aug 2014 12:04:30 +0000 (14:04 +0200)
commit76a8cb9d7bcc12a8f1cedcb4c23bbb6391a4c56c
treedb7204a6181c80110bf2fbd0d1dd689ed9584056
parent1467780772d6f6fd72e882b5b2677ae9acbc1297
avcodec/proresenc_kostya: set initial max_slice_size based on frame_size_upper_bound

If the initial max_slice_size is 0 then reallocation is disabled for the first
slice.

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/proresenc_kostya.c