h264: initialize H264Context.avctx in init_thread_copy
This prevents using a wrong (first thread's) AVCodecContext if decoding a frame in the first pass over all threads fails.
Showing
Please
register
or
sign in
to comment
This prevents using a wrong (first thread's) AVCodecContext if decoding a frame in the first pass over all threads fails.