Originally committed as revision 1391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Philip Gladstone authored on 2003/01/04 05:00:49... | ... |
@@ -995,6 +995,10 @@ static int modify_current_stream(HTTPContext *c, char *rates) |
995 | 995 |
FFStream *req = c->stream; |
996 | 996 |
int action_required = 0; |
997 | 997 |
|
998 |
+ /* Not much we can do for a feed */ |
|
999 |
+ if (!req->feed) |
|
1000 |
+ return 0; |
|
1001 |
+ |
|
998 | 1002 |
for (i = 0; i < req->nb_streams; i++) { |
999 | 1003 |
AVCodecContext *codec = &req->streams[i]->codec; |
1000 | 1004 |
|