Browse Source

remove return 1, we don't change state, we are still sending data

Originally committed as revision 13873 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
fbc6314428
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      ffserver.c

+ 0
- 1
ffserver.c View File

@@ -2224,7 +2224,6 @@ static int http_prepare_data(HTTPContext *c)
if (av_write_frame(ctx, &pkt) < 0) { if (av_write_frame(ctx, &pkt) < 0) {
http_log("Error writing frame to output\n"); http_log("Error writing frame to output\n");
c->state = HTTPSTATE_SEND_DATA_TRAILER; c->state = HTTPSTATE_SEND_DATA_TRAILER;
return 1;
} }


len = url_close_dyn_buf(ctx->pb, &c->pb_buffer); len = url_close_dyn_buf(ctx->pb, &c->pb_buffer);


Loading…
Cancel
Save