Ticket #6609: mythtv_fix_mp2_detect.diff

File mythtv_fix_mp2_detect.diff, 407 bytes (added by tralph11@…, 16 years ago)

Patch to fix MP2 detection for pvr-x50 encoders

  • libs/libavformat/mpeg.c

     
    125125        m->sofdec++;
    126126    } while (v == sofdec[i] && i++ < 6);
    127127
     128    if (m->sofdec == 6)
     129        m->sofdec = 1;
     130    else
     131        m->sofdec = 0;
     132
    128133    /* no need to do more */
    129134    return 0;
    130135}