[FFmpeg-devel] [PATCH]Allow image output format without using -f image2

Baptiste Coudurier baptiste.coudurier
Sat Nov 22 11:25:36 CET 2008


Hi,

Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch improves usage, IMO.
> 
> Please comment, Carl Eugen
> 
> Index: libavformat/img2.c
> ===================================================================
> --- libavformat/img2.c	(Revision 15903)
> +++ libavformat/img2.c	(Arbeitskopie)
> @@ -402,7 +402,7 @@
>      "image2",
>      NULL_IF_CONFIG_SMALL("image2 sequence"),
>      "",
> -    "",
> +    "png,jpg",
>      sizeof(VideoData),
>      CODEC_ID_NONE,
>      CODEC_ID_MJPEG,
> 

What about adding all extension mentionned in the file ? It should work 
for these too.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no




More information about the ffmpeg-devel mailing list