avcodec/flacdec: Return error code instead of 0 for failures
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 11:25:34 +0000 (13:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 9 May 2017 14:50:18 +0000 (16:50 +0200)
commit3f5a68533decdfb4757207e8d7b5af06e1dcd197
tree65f74707169212a06e33bc09867327972c982454
parent66be24262689c7ec16c28b156d5811c23433f73f
avcodec/flacdec: Return error code instead of 0 for failures

Fixes: infinite loop
Fixes: 1418/clusterfuzz-testcase-minimized-5934472438480896

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flacdec.c