[FFmpeg-cvslog] ffmpeg: dont return reserved values

Michael Niedermayer git at videolan.org
Wed Oct 2 13:14:18 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct  1 18:28:11 2013 +0200| [0425fd7eb2186e40e372f9b92c6456b293b8ae4a] | committer: Michael Niedermayer

ffmpeg: dont return reserved values

Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0425fd7eb2186e40e372f9b92c6456b293b8ae4a
---

 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;



More information about the ffmpeg-cvslog mailing list