diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-14 15:35:05 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-14 15:59:15 -0400 |
commit | 0be3736796b1651ad785c9ba68d26c2276cc074c (patch) | |
tree | 7b39186057f1ee513a9fa63b70867468d761efb5 /ffmpeg.c | |
parent | 9f6321117565f9e673c8c6dbfb4104c09272704e (diff) | |
download | ffmpeg-0be3736796b1651ad785c9ba68d26c2276cc074c.tar.gz |
ffmpeg: fix streaming to ffserver.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |