[FFmpeg-cvslog] r13851 - trunk/ffserver.c

bcoudurier subversion
Sat Jun 21 05:55:26 CEST 2008


Author: bcoudurier
Date: Sat Jun 21 05:55:25 2008
New Revision: 13851

Log:
return 1 when error during write frame, state changed

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Sat Jun 21 05:55:25 2008
@@ -2187,6 +2187,7 @@ static int http_prepare_data(HTTPContext
                     if (av_write_frame(ctx, &pkt) < 0) {
                         http_log("Error writing frame to output\n");
                         c->state = HTTPSTATE_SEND_DATA_TRAILER;
+                        return 1;
                     }
 
                     len = url_close_dyn_buf(ctx->pb, &c->pb_buffer);




More information about the ffmpeg-cvslog mailing list