Ticket #3685: 3685-v1.patch

File 3685-v1.patch, 544 bytes (added by danielk, 13 years ago)

Probable fix for crash

  • libs/libmythtv/videoout_xv.cpp

     
    16731673    {
    16741674        if (subtype == XShm)
    16751675        {
    1676             CreateShmImages(1, false);
     1676            vector<unsigned char*> bufs = CreateShmImages(1, false);
     1677            if (bufs.empty())
     1678                return false;
    16771679            XJ_non_xv_image = (XImage*) xv_buffers.begin()->second;
    16781680        }
    16791681        else