pthread: validate_thread_parameters() ignored slice-threading being intentionally off
authorAlexander Strange <astrange@ithinksw.com>
Sun, 3 Apr 2011 19:54:14 +0000 (15:54 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 9 Apr 2011 12:23:22 +0000 (08:23 -0400)
commitcf39b461d31a213261cb7dab21e8aeb0bb1673d5
tree27370d0d58798a9dccba0b7b3ab2355fbd94424f
parentf82163cf1c0515a59e6aed9748a17604f892c310
pthread: validate_thread_parameters() ignored slice-threading being intentionally off

The thread_type API allows you to request only FF_THREAD_FRAME (instead of
FRAME | SLICE), but it was being ignored.
We don't implement both of them at the same time, so there isn't an effect
on current codecs, except that you can request no kinds of threading now
(a bit useless).

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/pthread.c