[XviD-devel] floating point exception on decoding

Martin Kuball MartinKuball at web.de
Mon Nov 22 21:29:24 CET 2004


Please! Anybody here who can give me a short description of this 
time_pp field?

Martin


Am Saturday 20 November 2004 13:10 schrieb Martin Kuball:
> Hi!
>
> Sometimes I transcode avi files with xvid encoded videos to dvd
> mpeg2 format. Recently I stumbled upon some avi files that give
> strange errors on decoding.
>
> When using ffmpeg for decoding I get an error saying: header
> damaged.
>
> When using xvid (after all the avi header claims to contain video
> encoded with xvid) I get a floating point exception. Well, I took a
> deep breath and started gdb. I was able to trace the bug to the
> field DECODER.time_pp which has a value of 0. Now this is not good
> if you want to use that value to divide another number with it (in
> function decoder_bframe in decoder.c line 1326).
>
> Well, I can play the avi with e.g. mplayer or xine. Don't know what
> these programs use to decode the video. But they obiously manage it
> without errors.
>
> So what's going on here? What is this time_pp anyway? Should xvid
> report an error? Should it guess a value if it finds 0 in time_pp?
>
> Martin
>  
> _______________________________________________
> XviD-devel mailing list
> XviD-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel


More information about the XviD-devel mailing list