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:51 +0000 (00:24 +0100)
commit3fc75e79cf033fbe575b663d9e8b56cc835b95ef
treec39114ae9d868e3e188cf68ecbf91100ed190905
parent30463a0c9985c44e8064b1630e242debc48bc755
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