[mythtv] Fwd: [mythtv-users] Problem Audio on Freeview HD BBC Channels
Simon Jones
sijones2010 at gmail.com
Mon Oct 3 19:19:26 UTC 2011
>>> at least then I maybe able to fix this little annoying issue for us!
>>
>> You probably just need to look at their git logs for around the times
>> when they decided to close these tickets-- I don't know why they don't
>> ref a commit in their bug tracker.
>
well, I found the change they did, here
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0bc5d4fd8bbb63be172978e888834a88a1e64fb0
got trunk and altered the file but when I tried to compile it failed
at some other place, it did compile FFmpeg ok tho, so would anyone be
willing to try it for me?
does the below look right, i did git diff to create the below?
diff --git a/mythtv/external/FFmpeg/libavcodec/aacdec.c b/mythtv/external/FFmpeg
index a362d6a..8356cb3 100644
--- a/mythtv/external/FFmpeg/libavcodec/aacdec.c
+++ b/mythtv/external/FFmpeg/libavcodec/aacdec.c
@@ -2246,6 +2246,7 @@ static int latm_decode_audio_specific_config(struct LATMCo
{
AVCodecContext *avctx = latmctx->aac_ctx.avctx;
MPEG4AudioConfig m4ac;
+ AACContext *ac= &latmctx->aac_ctx;
int config_start_bit = get_bits_count(gb);
int bits_consumed, esize;
@@ -2255,12 +2256,13 @@ static int latm_decode_audio_specific_config(struct LATM
return AVERROR_INVALIDDATA;
} else {
bits_consumed =
- decode_audio_specific_config(NULL, avctx, &m4ac,
+ decode_audio_specific_config(ac, avctx, &m4ac,
gb->buffer + (config_start_bit / 8),
get_bits_left(gb) / 8);
if (bits_consumed < 0)
return AVERROR_INVALIDDATA;
+ ac->m4ac= m4ac;
esize = (bits_consumed+7) / 8;
More information about the mythtv-dev
mailing list