[mythtv-commits] mythtv commit: r8651 by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jan 19 19:19:49 UTC 2006


      Author: danielk
        Date: 2006-01-19 19:19:48 +0000 (Thu, 19 Jan 2006)
New Revision: 8651
   Changeset: http://cvs.mythtv.org/trac/changeset/8651

Modified:

   trunk/mythtv/libs/libmythtv/videobuffers.cpp

Log:

Fixes #1053.

In this case an MPEG-4 recording is using a frame height which is not 
a multiple of 16. ffmpeg isn't doing any validation on the dimensions
so it ends up writing outside the buffer. This just pads allocated
buffers up to multiples of 16, so that this type of error doesn't cause
a segfault with any of the codecs we support. MythTV does prevent you
from setting an invalid dimension when you record to a MPEG-4 NUV, so
AFAIK this is more of a legacy issue.






More information about the mythtv-commits mailing list