pthread: Fix crash due to fctx->delaying not being cleared.
authorDale Curtis <dalecurtis@chromium.org>
Fri, 13 Apr 2012 00:12:27 +0000 (17:12 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 13 Apr 2012 04:32:01 +0000 (21:32 -0700)
commit97ae370078e5ee8e78269fe4d7b4f457e82bd758
tree0bb2ae3c477dbf074780115ab26686d9e999592f
parent27c2fb0f721efb61f65017efa82c32c12de4287b
pthread: Fix crash due to fctx->delaying not being cleared.

Reproducible with test case and ffplay -threads 2. Stack trace:
http://pastebin.com/PexZ4Uc0

Test case:
http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogm

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/pthread.c