Wireshark-commits: [Wireshark-commits] master f358654: mpeg: make sure the presence flags are set.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 01 May 2020 21:27:50 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f35865428b3a14d8aac47db78e2f59c5b1f1df53
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

f358654 by Guy Harris (guy@xxxxxxxxxxxx):

    mpeg: make sure the presence flags are set.
    
    The time stamps are calculated by sequential processing, not read from a
    value in the packet record, so we don't supply them when reading
    randomly.  Make sure the presence flags are 0 in that case (our callers
    currently don't look at time stamps when reading randomly, because
    some other file formats also don't supply time stamps for random reads,
    but we should make it clean).
    
    Change-Id: I494acc5bdf60e0a1de5cf002c3ea8403afce8a07
    Reviewed-on: https://code.wireshark.org/review/37008
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    

Actions performed:

    from  f0db074   camins: make sure the presence flags are set.
     add  f358654   mpeg: make sure the presence flags are set.


Summary of changes:
 wiretap/mpeg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)