[mythtv-commits] [MythTV/mythtv] a29309: ATSC Closed Captions

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

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

  Changed paths:
    M mythtv/libs/libmythtv/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 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

(copied from commit 4528c7050c339500e4246ab16b9da36191b11df1)

More information about the mythtv-commits mailing list