[FFmpeg-devel] [PATCH] allow empty params for av_open_input_stream()

Michael Niedermayer michaelni
Sun Jun 29 23:10:51 CEST 2008


On Sun, Jun 29, 2008 at 11:10:38AM -0400, Ronald S. Bultje wrote:
> Hi Michael,
> 
> On Sun, Jun 29, 2008 at 10:43 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > You could use "" as filename, which would at least initialize the
> > array holding the filename
> 
> OK, that works too, new patches attached.
> 
> Ronald

[...]
> @@ -1732,8 +1734,8 @@
>      case CODEC_TYPE_AUDIO:
>          val = enc->sample_rate && enc->channels;
>          if(!enc->frame_size &&
> -           !(enc->codec_id == CODEC_ID_VORBIS ||
> -             enc->codec_id == CODEC_ID_AAC))
> +           (enc->codec_id == CODEC_ID_VORBIS ||
> +            enc->codec_id == CODEC_ID_AAC))
>              return 0;

and that is what?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080629/0597b2f2/attachment.pgp>



More information about the ffmpeg-devel mailing list