Hi guys,

this week I started using transcode to rip some of my music dvds into mp3.
The first dvd went fine, the second however, crashed transcode. Probably this is
because it's a copied dvd.
So i started debugging and I think I found the source of the segmentation fault.

transcode calls tcprobe -B <rest of args> to get some information about the dvd. The struct that tcprobe sends to transcode is send through file descriptor 1 (stdout if i'm correct). However, tcprobe also prints other information to stdout in the case of
this particular dvd.
This happens in the function dvd_reader.c:stats_subp_attributes.

After commenting out that function, I don't get the segfault anymore, but instead
I get this error:
aud_aux.c) Error: Nul sample size detected for audio format `0x1'. Muting

Anyway, does anybody know what should be done about that stats_subp_attributes function? Maybe it should
be passed an argument to keep it from printing to stdout?

Also if anybody has any pointers as to what this error means, I'd greatly appreciate it.

Thanks!
Best regards,
Jozef Kruger

Reply via email to