Ticket #9193: 0001-Remove-MPEG2-transport-stream-mp2t-sniffer-rule.patch

File 0001-Remove-MPEG2-transport-stream-mp2t-sniffer-rule.patch, 905 bytes (added by jscipione, 12 years ago)

Patch that removes the mp2t sniffer rule that is causing the problem reported by this bug.

  • src/data/beos_mime/video/mp2t

    From bc984787437f688ccc7cc8d09fd3b0cdd48cbab7 Mon Sep 17 00:00:00 2001
    From: John Scipione <jscipione@gmail.com>
    Date: Wed, 21 Nov 2012 17:28:23 -0500
    Subject: [PATCH] Remove MPEG2 transport stream (mp2t) sniffer rule
    
    The rule is too general matching any unidentified file whose
    contents start with the letter 'G' because 'G' = 0x47.
    ---
     src/data/beos_mime/video/mp2t |    2 --
     1 files changed, 0 insertions(+), 2 deletions(-)
    
    diff --git a/src/data/beos_mime/video/mp2t b/src/data/beos_mime/video/mp2t
    index 62af73b..370da3a 100644
    a b resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";  
    33
    44resource(1, "META:TYPE") "video/mp2t";
    55
    6 resource(2, "META:SNIFF_RULE") "0.30 (0x47)";
    7 
    86resource(3, "META:S:DESC") #'MSDC' "MPEG-2 transport stream";
    97
    108resource(4, "META:EXTENS") message(234) {