Revision dd2af5aa ffserver.c

View differences:

ffserver.c
1362 1362
                stream->fmt = NULL;
1363 1363
            } else {
1364 1364
                stream->stream_type = STREAM_TYPE_LIVE;
1365
                /* jpeg cannot be used here, so use single frame jpeg */
1366
                if (!strcmp(arg, "jpeg"))
1367
                    strcpy(arg, "singlejpeg");
1365 1368
                stream->fmt = guess_format(arg, NULL, NULL);
1366 1369
                if (!stream->fmt) {
1367 1370
                    fprintf(stderr, "%s:%d: Unknown Format: %s\n", 

Also available in: Unified diff