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

Michael Niedermayer michaelni
Wed Jul 2 16:44:37 CEST 2008


On Wed, Jul 02, 2008 at 09:46:35AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Jun 29, 2008 at 5:10 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Sun, Jun 29, 2008 at 11:10:38AM -0400, Ronald S. Bultje wrote:
> >> OK, that works too, new patches attached.
> >>
> > [...]
> >> @@ -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?
> 
> New patch attached, this time the right chunk only. Sorry for the
> previous one, I need to learn git some day.

ok

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20080702/48e0c2d0/attachment.pgp>



More information about the ffmpeg-devel mailing list