Hey guys~<div><br></div><div>I am trying to decode video stream with RTP, when I put all the <b>receive packets ->assemble into a whole frame -> decode and display stuff in one thread</b>,everything seems fine with some delay,then </div>
<div><br></div><div>I try to do multi-thread with one thread to receive to receive and assemble packets another to decode and play..But I <b>got avcodec_decode_video failed all the time</b>, with pthread_mutex_lock </div>
<div><br></div><div>assistance I think crucial data struct is safe and I have checked every parameters avcodec_decode_video evey takes, seems normal...No luck with avcodec_decode_video2 too.......</div><div><br></div><div>
I am completely clueless, any tips and suggestion would be appreciated !!</div><div><div><br></div>Thanks in advance ~</div><div><br></div><div>Cheers<br>----------------------------------------<div>Best Regards</div><br>

</div>