[FFmpeg-devel] [PATCH] Make video_thread return a meaningful error value.

Stefano Sabatini stefano.sabatini-lala
Sun Jan 30 19:13:59 CET 2011


---
 ffplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 64b069f..c254bde 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1905,7 +1905,7 @@ static int video_thread(void *arg)
     av_freep(&is->vgraph);
 #endif
     av_free(frame);
-    return 0;
+    return ret;
 }
 
 static int subtitle_thread(void *arg)
-- 
1.7.2.3




More information about the ffmpeg-devel mailing list