[mythtv-commits] [MythTV/mythtv] 5efa91: ATSC Closed Captions

kmdewaal noreply at github.com
Mon Mar 22 17:21:21 UTC 2021


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 5efa91cf604f0f6af282f440b37b78d0613790d2
      https://github.com/MythTV/mythtv/commit/5efa91cf604f0f6af282f440b37b78d0613790d2
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

  Log Message:
  -----------
  ATSC Closed Captions

In avformatdecoder.cppp the closed captions packets are extracted from
the video stream and sent to the decoders for processing.
In commit 4880fe2427c1c83b861c3158fe7899865093cba0 of Nov 19, 2016  a check
is introduced to prevent potential out-of-bound memory access.
This check is not correct, causing the last closed caption packet
in each buffer to be always discarded. This causes all sorts of
issues in the rendering of the closed captions.
The check on out-of-bound memory access is now corrected.

Refs #326

(cherry picked from commit 4528c7050c339500e4246ab16b9da36191b11df1)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>




More information about the mythtv-commits mailing list