]> git.sesse.net Git - ffmpeg/commit
mpegvideoenc: fix multislice fate tests with threading disabled.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 2 Jun 2011 21:24:58 +0000 (14:24 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 3 Jun 2011 16:52:09 +0000 (09:52 -0700)
commit83a8b3002f3399c52b3900ca2f068d51e97713ec
treeb9cec79ff98733b7427eb741d7f79d313998a795
parent43b6c3eb182617ff08e72584e1c4635ac20d33e8
mpegvideoenc: fix multislice fate tests with threading disabled.

The MPEG encoding code assumes that n_threads == n_slices, and thus it
should use n_slices even if threading itself is disabled.
libavcodec/mpegvideo.c
libavcodec/mpegvideo_enc.c