diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-08-28 12:05:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-08-28 19:06:02 +0000 |
commit | 42570f96f9d41099f959582c5b99aa552400beed (patch) | |
tree | 9bd9c34bce64053d79911d24252fdca57bfcc14f /epan/dissectors/packet-ppi.c | |
parent | c04d54fbd49d36213faa555d1141a7ac3196beed (diff) | |
download | wireshark-42570f96f9d41099f959582c5b99aa552400beed.tar.gz |
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@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
0 files changed, 0 insertions, 0 deletions