Used the AVCodecContext given to AVCodecContext::get_buffer() and not the global...
commit11353001aea84c1c88f585518c23ed339d364c0f
authorLaurent Aimar <fenrir@videolan.org>
Fri, 24 Jun 2011 20:40:07 +0000 (24 22:40 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 24 Jun 2011 20:40:07 +0000 (24 22:40 +0200)
tree987cc355e5e7d17212341b8be0199578a7893363
parent20722cb095e84b1220e8c3276706d079d14be788
Used the AVCodecContext given to AVCodecContext::get_buffer() and not the global one.

It seems that the global one is not in synch when the callback is called.
When MT was in use, non I420 streams were broken.
modules/codec/avcodec/video.c