Ticket #9870: mythtv.patch

File mythtv.patch, 750 bytes (added by Lutz Mändle <lmaendle@…>, 9 years ago)
  • mythtv/mythtv/programs/mythtranscode/mpeg2fix.cpp

    diff -Naur ./orig//mythtv/mythtv/programs/mythtranscode/mpeg2fix.cpp ./patched//mythtv/mythtv/programs/mythtranscode/mpeg2fix.cpp
    old new  
    575575        AVMetadataTag *metatag =
    576576            av_metadata_get(inputFC->streams[it.key()]->metadata,
    577577                            "language", NULL, 0);
    578         char *lang = metatag ? metatag->value : NULL;
     578        const char *lang = metatag ? metatag->value : "";
    579579        ring_init(&rx.extrbuf[i], memsize / 5);
    580580        ring_init(&rx.index_extrbuf[i], INDEX_BUF);
    581581        rx.extframe[i].set = 1;