Wireshark-commits: [Wireshark-commits] master-3.0 c367fbd: mpeg: make sure the presence flags are s
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 01 May 2020 21:28:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c367fbd5ddd9c8f94c1cbda3011397070ad62c12
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

c367fbd 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>
    (cherry picked from commit f35865428b3a14d8aac47db78e2f59c5b1f1df53)
    Reviewed-on: https://code.wireshark.org/review/37010
    

Actions performed:

    from  5064830   camins: make sure the presence flags are set.
     add  c367fbd   mpeg: make sure the presence flags are set.


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