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:23:45 +0000 (00:23 +0100)
commit302f11e719cc7fc59960f145b99b1f54a4ba0374
tree80c5594db518fcae6b058662ebfaa632e46460e4
parent8c2f006d10c7e8df42d6ee57060bd1ce6ff3298f
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