[FFmpeg-cvslog] r10111 - trunk/libavformat/vocenc.c

Aurelien Jacobs aurel
Tue Aug 14 01:32:06 CEST 2007


On Tue, 14 Aug 2007 00:55:44 +0200 (CEST)
ramiro <subversion at mplayerhq.hu> wrote:

> Author: ramiro
> Date: Tue Aug 14 00:55:44 2007
> New Revision: 10111
> 
> Log:
> Use AVERROR_PATCHWELCOME instead of AVERROR(ENOTSUP)
> 
> Modified:
>    trunk/libavformat/vocenc.c
> 
> Modified: trunk/libavformat/vocenc.c
> ==============================================================================
> --- trunk/libavformat/vocenc.c	(original)
> +++ trunk/libavformat/vocenc.c	Tue Aug 14 00:55:44 2007
> @@ -34,7 +34,7 @@ static int voc_write_header(AVFormatCont
>  
>      if (s->nb_streams != 1
>          || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO)
> -        return AVERROR(ENOTSUP);
> +        return AVERROR_PATCHWELCOME;

Sorry to notice this only now, but I think it's wrong...
IIRC the voc container can't store anything else than audio, and it
can't store more than one stream.
So there is no patch welcome. It's just a limitation of the format,
and thus, it is impossible to mux input streams into voc.

Oh, and yes, I know this was posted several times to the devel list,
and I should have reacted at that time. So once again, sorry.

Aurel




More information about the ffmpeg-cvslog mailing list