QUOTE(DVDdoug @ May 28 2008, 17:43)

Are you a programmer writing a codec or decoder? My programming skills are not that advanced, so I can't really answer your question...
But, I think you probably stop and skip to the next frame. Or, try to handle the errors "gracefully". (i.e. a muted frame is better than a noisy/corrupt frame). The reason I say that is because my Corel/Ulead video editing programs sometimes crash when re-coding/transcoding. I assume this caused by buffer overflow... or something like that... Sometimes the program will halt with an error, sometimes it will freeze, and sometimes I'll get an "out of memory" error.
I don't know, but I'm pretty sure some "bad data" in the file is "confusing" the decoder, because other files with the same format don't cause trouble, and it seems to happen somewhere in the middle of the file. But, these (bad/corrupt?) files usually play back fine with Window Media Player, so it's only the Corel/Ulead decoder that "gets confused" by these files.
im a programmer writing decoder. Thanks for ur reply. The error handling varies with decoders. So im trying to skip the frame.