remove return 1, we don't change state, we are still sending data
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 22 Jun 2008 03:20:28 +0000 (03:20 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 22 Jun 2008 03:20:28 +0000 (03:20 +0000)
Originally committed as revision 13873 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 493d22e..2449a80 100644 (file)
@@ -2224,7 +2224,6 @@ static int http_prepare_data(HTTPContext *c)
                     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);