OSDN Git Service

fix a segfault and a deadlock if reader exits befor first buffer sent
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 29 Oct 2010 16:17:48 +0000 (16:17 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 29 Oct 2010 16:17:48 +0000 (16:17 +0000)
commit46eba7a6f968c5475ec78d5a962e0670525c3762
tree4879723563ecf4c0caa4c3fdd426d57ad2b3cf64
parenta24beee4f3694f797ea967869dbd94a215fc770d
fix a segfault and a deadlock if reader exits befor first buffer sent
This can happen if enough of the source is good that it scans but the
beginning has an error that causes reader to exit.

git-svn-id: svn://localhost/HandBrake/trunk@3628 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c
libhb/sync.c