[mythtv-commits] mythtv/master commit: cec7c2bbd by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Mon Apr 25 03:41:28 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-04-24T20:40:27-07:00
Push Date: 2011/04/24 20:41:26 -0700
Repository: mythtv
Branch: master
New Revision: cec7c2bbd7702eb40f30fe0deb308a80af50f0bc
Changeset: https://github.com/MythTV/mythtv/commit/cec7c2bbd
Log:
Fix MHEG-related crash post ffmpeg-sync
Two changes in here:
One: don't try to dereference ->info if it is NULL
Two: use av_new_stream instead of av_add_stream. The contents are nearly
identical, but the former actually allocates the ->info.
I don't think the ->info part is actually used by MHEG itself, but enough of
the generic code for mpeg2ts seems to use it that this seemed to be the best
way to fix this crash.
Fixes #9747
Modified:
mythtv/external/FFmpeg/libavformat/mpegts.c
mythtv/external/FFmpeg/libavformat/utils.c
More information about the mythtv-commits
mailing list