Ticket #6753: ticket_6753_fix_dvb_subtitle_delay.diff
| File ticket_6753_fix_dvb_subtitle_delay.diff, 749 bytes (added by janne, 2 years ago) |
|---|
-
libs/libavformat/mpegts.c
1794 1794 pes->data_index += buf_size; 1795 1795 } 1796 1796 buf_size = 0; 1797 /* emit complete packets 1798 * total_size is the number of bytes following pes_packet_length 1799 * in the pes header, i.e. not counting the first 6 bytes */ 1800 if (pes->pes_header_size + pes->data_index >= pes->total_size + 6) { 1801 ts->stop_parse = 1; 1802 new_pes_packet(pes, ts->pkt); 1803 } 1797 1804 break; 1798 1805 case MPEGTS_SKIP: 1799 1806 buf_size = 0;
