OSDN Git Service

avcodec/error_resilience: check that er is supported before attempting to read the...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Dec 2013 15:49:35 +0000 (16:49 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 7 Dec 2013 10:44:18 +0000 (11:44 +0100)
commit624b83b3efa463eda3f3aa9c9be4792e67b0ab5f
tree0cd6837b6d73b9512e4c2c617716bc4da82b66ba
parente8304f4ee0b1e291ab9a713dfc69da1d13c1b712
avcodec/error_resilience: check that er is supported before attempting to read the status of the previous slice

Fixes incorrectly set error_occured and improves speed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 90539cea336fd513c47295a03c164cb4a851166f)
libavcodec/error_resilience.c