[FFmpeg-devel] [PATCH] RealAudio SIPR @16k decoder (4/4) demuxer
Benjamin Larsson
banan
Wed Sep 24 22:19:08 CEST 2008
Michael Niedermayer wrote:
>
>> ------------------------------------
>> s=10
>> wav_write_header
>> av_log(s, AV_LOG_ERROR, "%s codec not supported in WAVE format\n",
>> s->streams[0]->codec->codec->name); with s->streams[0]->codec->codec
>> being NULL
>>
>> I removed the lookup and it ran better.
>
> fixed
Thanks.
>
>
>> ------------------------------------
>> At s=85 it crashed on a division by zero, block_align was 0 cause of
>> sub_packet_size corruption. Added a check for nozero block_size at the
>> end of rm_read_audio_stream_info fixed it.
>
> a clean fix is welcome, checking block_align==0 for all codecs is likely
> going to break some ...
>
Ok, I'll look closer tomorrow exactly what codecs that need that check.
MvH
Benjamin Larsson
More information about the ffmpeg-devel
mailing list