avcodec/pthread_frame: fix setting hwaccel with threads and get_format()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jul 2014 17:51:49 +0000 (19:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jul 2014 17:58:58 +0000 (19:58 +0200)
commite36916a63f6fd0644461ecbd6b08eeb8dfab60ab
tree67e1b64de2c9c7b3b8aa356ac16476aa0f3655c9
parent31d49db75eea2032f1929b5c0bccc2b9c39e2006
avcodec/pthread_frame: fix setting hwaccel with threads and get_format()

Fixes assertion failure with vdpau and vlc
Fixes Ticket3742

Tested-by: oromit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pthread_frame.c