[FFmpeg-devel] [PATCH] allow empty params for av_open_input_stream()
Ronald S. Bultje
rsbultje
Wed Jul 2 15:46:35 CEST 2008
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.
Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openinputstream-allow-empty-filename-and-header.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080702/88a12921/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openinputstream-reindent.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080702/88a12921/attachment.txt>
More information about the ffmpeg-devel
mailing list