avcodec/dca: fix sync word search error condition
authorfoo86 <foobaz86@gmail.com>
Mon, 2 May 2016 20:44:47 +0000 (23:44 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 May 2016 21:26:44 +0000 (23:26 +0200)
commitce2f9fdb0a92956aedfa2c564d1374a2f1eebfbd
tree6ff3c993c699b374bcf061dff4ec7bc136702b20
parent9fcb59c9bc5cce101e700a8e65bb51a8e2e05451
avcodec/dca: fix sync word search error condition

This didn't actually check if sync word was found and always errored out
with "-err_detect explode" option enabled.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dca_core.c