[vlc-devel] vlc: svn commit r15229 (hartman)

Subversion daemon svn at videolan.org
Sat Apr 15 02:07:09 CEST 2006

r15229 | hartman | 2006-04-15 02:07:09 +0200 (Sat, 15 Apr 2006) | 6 lines
Changed paths:
   M /trunk/modules/demux/ts.c

* Support for Topfield .rec recordings. It's MPEG-TS with an exceptionally large (1MB) header in front of it.
  I tried adding the info in the header to meta, but the existing documention seems incorrect or at least incomplete. Instead we just accept the start of the header as identifying a MPEG-TS file, and skipping the header.

  BTW this header is again an example of very bad format design. It is using fixed length strings, for which the used buffers clearly are not null'ed before written with new information. As such i was able to determine which programs were running before this program was recorded :D
  Also a PID printed to a field was clearly not printed to null'ed memory, causing an invalid (too high) PID number to be in the field. You'd think the least someone could do when designing something like this, would be to analyze a hexdump of your own custom header.

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list