avcodec/mpeg12enc: Move high resolution thread check to before initializing threads
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 20 Jan 2016 23:36:51 +0000 (00:36 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:24:28 +0000 (00:24 +0100)
commitee5ba0a1ad8b6763a9acc9cf37b1aba6de284e8d
treeb99afe555e7ddc2845bf640161fe9f9159a5cd99
parent4de748119497f91c79c063466332d1564c4daa48
avcodec/mpeg12enc: Move high resolution thread check to before initializing threads

Cleaner solution is welcome!

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a53fbda9dc92273054a103db7539d2bb6e9632b2)

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