mirror of https://git.ffmpeg.org/ffmpeg.git
Fix a crash in ffserver when streaming to WMP from a file. However, it
still doesn't seem to work for me anyway. Originally committed as revision 1391 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f931ff7b9f
commit
001bcd2955
|
@ -995,6 +995,10 @@ static int modify_current_stream(HTTPContext *c, char *rates)
|
||||||
FFStream *req = c->stream;
|
FFStream *req = c->stream;
|
||||||
int action_required = 0;
|
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++) {
|
for (i = 0; i < req->nb_streams; i++) {
|
||||||
AVCodecContext *codec = &req->streams[i]->codec;
|
AVCodecContext *codec = &req->streams[i]->codec;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue