]> granicus.if.org Git - handbrake/commit
fix a threading issue with avcodec_open/close
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 12 Dec 2008 18:54:36 +0000 (18:54 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Fri, 12 Dec 2008 18:54:36 +0000 (18:54 +0000)
commit47b9304671876792e9a2364e867c9601d0432076
tree7db84f17a253b6767552495b92ed6341000af62c
parentcec83b5d831f2c988e5544ddc16602bda903a225
fix a threading issue with avcodec_open/close
these functions can not be called from 2 threads simultaneosly.
made a wrapper function that holds a lock while making the call

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2023 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c
libhb/decomb.c
libhb/deinterlace.c
libhb/encavcodec.c
libhb/hb.c
libhb/stream.c
libhb/sync.c