[mythtv-commits] mythtv commit: r13511 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun May 27 18:45:35 UTC 2007


      Author: cpinkham
        Date: 2007-05-27 18:45:35 +0000 (Sun, 27 May 2007)
New Revision: 13511
   Changeset: http://cvs.mythtv.org/trac/changeset/13511

Modified:

   trunk/mythtv/libs/libavcodec/mpegaudiodec.c

Log:

Put in a (temporary) patch in libavcodec to allow decoding packets with
multiple MP3 frames in them.  Previously the MP3 decoder's decode_frame()
function would indicate that it had consumed all the data in the packet and
would cause the MythTV decoder code to ignore the rest of the packet.  Now,
decode_frame will indicate how much data it consumed so our decoder can
recall the libavcodec routine if necessary.

I am waiting on the guys at ffmpeg-devel for a little guidance in submitting
a patch upstream to them, in case they want to solve the problem differently
than I have.  In order to use another libavcodec program to transcode one of
these 'broken' nuv files, upstream will have to be fixed.  Once upstream is
fixed, then this patch can be reverted.

References #2972.  The fix for the MythTV issue creating these out of spec
packets was fixed in [13510].






More information about the mythtv-commits mailing list