Commit cfd7bdb0 authored by philipjsg's avatar philipjsg

Fix a crash in ffserver when streaming to WMP from a file. However, it

still doesn't seem to work for me anyway.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1391 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 45a2edd8
......@@ -995,6 +995,10 @@ static int modify_current_stream(HTTPContext *c, char *rates)
FFStream *req = c->stream;
int action_required = 0;
/* Not much we can do for a feed */
if (!req->feed)
return 0;
for (i = 0; i < req->nb_streams; i++) {
AVCodecContext *codec = &req->streams[i]->codec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment