Wireshark-commits: [Wireshark-commits] master 42570f9: Clean up scanning to guess the bitrate of an

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 28 Aug 2015 19:06:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=42570f96f9d41099f959582c5b99aa552400beed
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

42570f9 by Guy Harris (guy@xxxxxxxxxxxx):

    Clean up scanning to guess the bitrate of an MPEG-2 Transport Stream file.
    
    Don't treat an EOF at the beginning of a frame as an error.
    
    Treat I/O errors as hard errors; treat short reads as an indication that
    the file isn't an MPEG-2 Transport Stream file.
    
    Treat the PCR for a given PID not going forward as an indication that
    the file isn't an MPEG-2 Transport Stream file.
    
    Bug: 11471
    Change-Id: I42b5887049423f8265db9d121d7b5bd388e5b244
    Reviewed-on: https://code.wireshark.org/review/10286
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c04d54f   Preparation Host Flows: make ICMP(v6) code and type retrieval more robust
    adds  42570f9   Clean up scanning to guess the bitrate of an MPEG-2 Transport Stream file.


Summary of changes:
 wiretap/mp2t.c |   75 ++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 57 insertions(+), 18 deletions(-)