Commit 0425fd7e authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: dont return reserved values

Found-by: Daemon404
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e31a239f
......@@ -3421,7 +3421,7 @@ int main(int argc, char **argv)
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" frames successfully decoded, %"PRIu64" decoding errors\n",
decode_error_stat[0], decode_error_stat[1]);
if (2*decode_error_stat[0] < decode_error_stat[1])
exit_program(254);
exit_program(69);
exit_program(received_nb_signals ? 255 : 0);
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment