[FFmpeg-devel] [PATCH 1/2] ffmpeg: dont return reserved values

Michael Niedermayer michaelni at gmx.at
Tue Oct 1 18:28:11 CEST 2013


Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 2e084a4..d1c841f 100644
--- 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list