Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118436 | Differences between
and this patch

Collapse All | Expand All

(-)demux_ts.c (-3 / +13 lines)
Lines 1317-1326 Link Here
1317
      }
1317
      }
1318
      else if ((p[0] & 0xF0) == 0x80)
1318
      else if ((p[0] & 0xF0) == 0x80)
1319
      {
1319
      {
1320
         int l, sub = 0;
1320
         mp_msg(MSGT_DEMUX, MSGL_DBG2, "A52 WITH HEADER\n");
1321
         mp_msg(MSGT_DEMUX, MSGL_DBG2, "A52 WITH HEADER\n");
1321
         es->start   = p+4;
1322
         es->type    = PES_PRIVATE1;
1322
         es->size    = packet_len - 4;
1323
         for(l = 0; l < packet_len - 1; l++)
1323
         es->type    = AUDIO_A52;
1324
         {
1325
            if(p[l] == 0x0B && p[l+1] == 0x77)
1326
            {
1327
               es->type    = AUDIO_A52;
1328
               sub = (l == 4) ? 4 : 0;
1329
               break;
1330
            }
1331
         }
1332
         es->start   = p + sub;
1333
         es->size    = packet_len - sub;
1324
         es->payload_size -= packet_len;
1334
         es->payload_size -= packet_len;
1325
1335
1326
         return 1; 
1336
         return 1; 

Return to bug 118436