]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: dont return reserved values
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 1 Oct 2013 16:28:11 +0000 (18:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 2 Oct 2013 10:59:39 +0000 (12:59 +0200)
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 2e084a49a0bda6128712824d37cac2294b3686c1..d1c841fb8ba8426cc34cf21da9e4570b277e07e7 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;