Hi, I call avcodec_decode_video2 from several threads ( one for h264 and one for mpeg12 ) and I have Packet and Frame corrupted. What is th best way to prevent it ?
I can replace avcodec_decode_video2 with a newdecodevideo2 with lock mutex avcodec_decode_video2 copy Frame copy Packet unlok mutex ? Many thanks Gilles Maire using the nice http://libav-users.943685.n4.nabble.com _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
