[MPlayer-dev-eng] [PATCH] Audio support for AVISynth

Alexander 'Lazy Ranma' Ponyatikh ranma at 274.ru
Sun Jul 23 23:51:51 CEST 2006


>> Also I think this:
>> > +    sh_audio_t *sh_audio = d_audio->sh;
> This can be moved in:
> if (avs_has_audio(AVS->video_info))
> (you are right but for some strange reason it doesn't crashes)
> part, but I'll better to handle also audio only

Since -nosound sets demuxer->audio->id to -2, I assume, that
demuxer->audio != NULL. You can also find similar code in other
demuxers, e.g. AVI.






More information about the MPlayer-dev-eng mailing list