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>
Mon, 1 Feb 2016 01:12:21 +0000 (02:12 +0100)
commit0732e7b0eab4bbb7af3861fb1630aff3bcdd6082
tree8fd3207577185bcec153b275802798022fa1873d
parent5af593290488514812527ad2ea3818dae4d41646
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