提交 dd2af5aa 编写于 作者: F Fabrice Bellard

jpeg hack


Originally committed as revision 89 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3abf2c27
......@@ -1362,6 +1362,9 @@ int parse_ffconfig(const char *filename)
stream->fmt = NULL;
} else {
stream->stream_type = STREAM_TYPE_LIVE;
/* jpeg cannot be used here, so use single frame jpeg */
if (!strcmp(arg, "jpeg"))
strcpy(arg, "singlejpeg");
stream->fmt = guess_format(arg, NULL, NULL);
if (!stream->fmt) {
fprintf(stderr, "%s:%d: Unknown Format: %s\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册