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

Ronald S. Bultje rsbultje
Sun Jun 29 23:36:51 CEST 2008


Hi,

On Sun, Jun 29, 2008 at 5:10 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> @@ -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?

Oops, that shouldn't be part of it.

Ronald




More information about the ffmpeg-devel mailing list