[MPlayer-dev-eng] [PATCH] MEncoder EDL segfault and fixes
Nico Sabbi
nsabbi at tiscali.it
Sat Jun 25 16:08:13 CEST 2005
Oded Shimon wrote:
>A whole bunch of fixes related to MEncoder EDL, there were quite a few
>problems. Several 100l to me.
>
>Tested as thoroughly as I can, hopefully no more bugs...
>
>- ods15
>
>
>------------------------------------------------------------------------
>
>
>+ if (sh_audio->audio.dwScale) samplesize = sh_audio->audio.dwSampleSize;
>+ else samplesize = (sh_audio->wf ? sh_audio->wf->nBlockAlign : 1);
>+ avg = (sh_audio->wf ? sh_audio->wf->nAvgBytesPerSec : sh_audio->i_bps);
>+
>
>
are you sure the above is correct? shouldn't the check
be made on sh_audio->audio.dwSampleSize ?
More information about the MPlayer-dev-eng
mailing list