Patches for DVBCUT (obsolete)

dvbcut-0.5.3-patch0.diff
NOT written by me, but by the original author, Sven Over.
dvbcut-0.5.3-patch1.diff
fixes handling of damaged MPEG audio frames
dvbcut-0.5.3-patch2.diff
fixes some overflows in src/index.h
dvbcut-0.5.3-patch3.diff
fixes SIGSEGV in AC-3 audio handling (caused by ffmpeg)
dvbcut-0.5.3-patch4.diff
fixes some coding bugs and improves handling of damaged MPEG TS
dvbcut-0.5.3-patch5.diff
fixes playaudio endless loop at or near EOF
dvbcut-0.5.3-patch6.diff
fixes "Channel4" bug: dvbcut used to ignore legal audio PTS when the data alignment indicator wasn't set. Note that this was a workaround for broken timestamps on ARD (aka "Das Erste"), so you may have some trouble with that again. Oh well... time to develop a real fix, I guess.
dvbcut-0.5.3-patch7.diff
fixes a "brown paper bag" bug in inbuffer::providedata that caused the function to return wrong data near the end of the file. Also removes an off-by-one error in index::check() and a bad end condition in a loop in mpgfile::decodegop(). These bugs were collectively responsible for some of the missing pictures at EOF. One bug remains, however: There's a broken call to avcodec_decode_video() in mpgfile::decodegop() which "hides" the final picture. Blame it on ffmpeg's stupid interface: It wants a buffer that is longer than the data it is supposed to decode!
dvbcut-0.5.3-patch8.diff
When writing DVD format files with the dvbcut muxer, stuff PES packet instead of pack headers. This is required for some transcoders, e.g. vamps.
dvbcut-0.5.3-patch9.diff
fixes a bug in AC-3 handling. This occurred only when cutting program streams (e.g. when recutting) and caused AC-3 audio tracks to be garbled.
dvbcut-0.5.3-patch10.diff
fixes the "last picture not displayed" bug.
dvbcut-0.5.3-patch11.diff
improves handling of missing video frames. Also corrects video presentation timestamps that are slightly wrong.
dvbcut-0.5.3-patch12.diff
contains the patch for building without libao plus improvements for patch 11 (sequence number handling).