[SCM] libav/experimental: return 1 when error during write frame, state changed
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:23:51 UTC 2013
The following commit has been merged in the experimental branch:
commit 4f0a942baecac387790705534af1bfb31f8b74bb
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Sat Jun 21 03:55:25 2008 +0000
return 1 when error during write frame, state changed
Originally committed as revision 13851 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/ffserver.c b/ffserver.c
index 90ef807..b53fb04 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2187,6 +2187,7 @@ 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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list