avcodec/ffv1enc: Try to choose slice count so that slice packet sizes are within...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Jun 2017 18:46:32 +0000 (20:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Jun 2017 14:06:25 +0000 (16:06 +0200)
commit4147bb905346570cab4c3d106bb94e08e4bb5a15
treee0ad11be3846c561fff5b08cd39925e38187575a
parent449cdfa687f788fa633f5c07e9e7ac71952dc6f6
avcodec/ffv1enc: Try to choose slice count so that slice packet sizes are within the supported size

Fixes assertion failure

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1enc.c