Commit e136579c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '3fbad007'

* commit '3fbad007':
  utvideoenc: Enable support for multiple slices and use them

Conflicts:
	libavcodec/utvideoenc.c
	tests/fate/utvideo.mak

See: efec857cMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents efec857c 3fbad007
......@@ -207,11 +207,10 @@ static av_cold int utvideo_encode_init(AVCodecContext *avctx)
if (!avctx->slices) {
c->slices = subsampled_height / 120;
if (!c->slices) {
if (!c->slices)
c->slices = 1;
} else if (c->slices > 256) {
else if (c->slices > 256)
c->slices = 256;
}
} else {
c->slices = avctx->slices;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment