[mythtv-commits] [MythTV/mythtv] 7077a8: Fix AdaptationFieldSize function

kmdewaal noreply at github.com
Sun Jun 5 21:37:33 UTC 2022

  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: 7077a824d2e746f305bcb215ea687220abaa17db
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-06-05 (Sun, 05 Jun 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/tspacket.h

  Log Message:
  Fix AdaptationFieldSize function

Use the data() function to get a pointer to access the fifth element of
a transport stream packet instead of directly accessing the fifth element of a
std::array that maps only the first four bytes of the transport stream packet.

(cherry picked from commit 0c16cbdbffecf20f95a812eff3fe1dc80495c789)

More information about the mythtv-commits mailing list