aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/dv1394.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-16 15:24:08 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-16 15:31:00 -0700
commit1e26a48fa23ef8e1cbc424667d387184d8155f15 (patch)
tree6a6bdf38642bf88d192c3cd707de04bdfe1f7af8 /libavdevice/dv1394.c
parentc6ccb96bc955b2087ec71033d99b3dcd5203eaf2 (diff)
downloadffmpeg-1e26a48fa23ef8e1cbc424667d387184d8155f15.tar.gz
h264: fix deadlocks on incomplete reference frame decoding.
If decoding a second complementary field, and the first was decoded in our thread, mark decoding of that field as complete. If decoding fails, mark the decoded field/frame as complete. Do not allow switching between field modes or field/frame mode between slices within the same field/frame. Ensure that two subsequent fields cover top/bottom (rather than top/frame, bottom/frame or such nonsense situations). Fixes various deadlocks when decoding samples with errors in reference frames. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavdevice/dv1394.c')
0 files changed, 0 insertions, 0 deletions