Changes between Initial Version and Version 1 of Ticket #9621, comment 4


Ignore:
Timestamp:
Apr 5, 2013, 8:41:35 AM (11 years ago)
Author:
phoudoin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9621, comment 4

    initial v1  
    11Our MPEG sniffer rule is broken, because it was just checking the first byte was a 'G', which was turned any text document starting with a G letter into a video media ;-)
    22
    3 Until we enhanced our sniffer parser to support a repeat pattern (here, checking a 'G' every 188 bytes for the first 100 times can assert at 80% that's a MPEG file...), we rely only on the extension suffix.
     3Until we enhanced our sniffer parser to support a repeat pattern (here, checking a 'G' every 188 bytes for the first 100 times can assert at >90% that's a MPEG file...), we rely only on the extension suffix.
    44
    55It's why when you suffix your files they are *only then* identified as video ones.