mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
jpeg hack
Originally committed as revision 89 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3abf2c27c6
commit
dd2af5aa4e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user