« Previous | Next » 

Revision 20708223

ID20708223dbd35b69a1b7cb542ee340c7c22af504
Parent a30ac54a
Child 1a089285

Added by Reimar Döffinger almost 10 years ago

Do not fail DVB sub decoding because of a few padding bytes

Instead of returning an error when bytes are left over, just return
the number of actually used bytes as other decoders do.
Instead add a special case so an error will be returned when none
of the data looks valid to avoid making debugging a pain.

Signed-off-by: Janne Grunau <>
(cherry picked from commit 4a72765a1c94b05bd3053b1f34f8457a3b71d714)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences