[mythtv] [patch] added asserts to osdtypes and nvp

Isaac Richards ijr at po.cwru.edu
Sat Nov 20 05:31:56 UTC 2004

On Monday 15 November 2004 02:08 pm, Daniel Thor Kristjansson wrote:
> On Sun, 14 Nov 2004, Isaac Richards wrote:
> ]On Sunday 14 November 2004 04:04 pm, Daniel Thor Kristjansson wrote:
> ]> I found OSDSet would try to allocate negative sized arrays if passed
> ]> a frame_interval of 0. I added an assert on the array size in
> ]> osdtypes.cpp, and added an assert on frame_interval sets in
> ]> NuppelVideoPlayer.cpp so that if these errors occur it is not deep
> ]> inside the C++ library.
> ]
> ]How can frame_interval be 0?
> Bad data from ffmpeg?
> It happened when ffmpeg had gotten a PMT claiming video, but had seen no
> video packets. I didn't look into it too much because Kenneth Aafloy was
> planning to look at how to properly deal with audio only "video streams".

Should be dealt with properly, now, without the assert.  I don't see how it 
could be calculated to 0 anymore. =)


> -- Daniel

More information about the mythtv-dev mailing list