[FFmpeg-cvslog] ffmpeg: fix streaming to ffserver.
Ronald S. Bultje
git at videolan.org
Wed Jun 15 02:23:11 CEST 2011
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Jun 14 15:35:05 2011 -0400| [0be3736796b1651ad785c9ba68d26c2276cc074c] | committer: Ronald S. Bultje
ffmpeg: fix streaming to ffserver.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0be3736796b1651ad785c9ba68d26c2276cc074c
---
ffmpeg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index cbcdba8..04672cc 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -684,6 +684,7 @@ static int read_ffserver_streams(AVFormatContext *s, const char *filename)
// FIXME: a more elegant solution is needed
st = av_mallocz(sizeof(AVStream));
memcpy(st, ic->streams[i], sizeof(AVStream));
+ st->info = NULL;
st->codec = avcodec_alloc_context();
if (!st->codec) {
print_error(filename, AVERROR(ENOMEM));
More information about the ffmpeg-cvslog
mailing list