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)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Dec 2013 15:49:35 +0000 (16:49 +0100)
commit90539cea336fd513c47295a03c164cb4a851166f
tree1292de9b78ca2db8ef78258b6e71b0112f44e338
parentafb18c55783362546b5e512ce01b7fe7bf5744d9
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>
libavcodec/error_resilience.c