[MPlayer-dev-eng] Re: [PATCH] avoid null dereference crash when -edlout w/o vid

Robert Henney robh at rut.org
Wed May 3 03:26:55 CEST 2006


> Try:
> 
> float v = sh_video ? sh_video->pts : sh_audio->pts;

That was what I first tried, but the resulting values going into the edl
output file were huge and didn't seem right to me so I had to assume that
I wasn't understanding what was in the sh_audio->pts variable correctly.

for example, using what you have above and pressing 'i' at ~5 and ~7
seconds into an mp3 results in this output into the edl file.

-9223372036854775808.000000 -9223372036854775808.000000 0
-9223372036854775808.000000 -9223372036854775808.000000 0




More information about the MPlayer-dev-eng mailing list