|
Line 0
Link Here
|
|
|
1 |
--- avidemux_plugins/ADM_demuxers/MpegTS/dmxTSPacket.cpp.orig 2016-01-29 08:47:25 UTC |
| 2 |
+++ avidemux_plugins/ADM_demuxers/MpegTS/dmxTSPacket.cpp |
| 3 |
@@ -144,7 +144,7 @@ bool tsPacket::setPos(uint64_t pos) |
| 4 |
{ |
| 5 |
if(!_file->setpos(pos)) |
| 6 |
{ |
| 7 |
- printf("[tsPacket] Cannot seek to %"PRIx64"\n", pos); |
| 8 |
+ printf("[tsPacket] Cannot seek to %" PRIx64"\n", pos); |
| 9 |
return false; |
| 10 |
} |
| 11 |
return true; |
| 12 |
@@ -387,7 +387,7 @@ nextPack3: |
| 13 |
zprintf("[TS Demuxer] Code=0x%x pid=0x%x\n",code,pes->pid); |
| 14 |
if((code&0xffffff00)!=0x100) |
| 15 |
{ |
| 16 |
- printf("[Ts Demuxer] No PES startcode at 0x%"PRIx64"\n",pkt.startAt); |
| 17 |
+ printf("[Ts Demuxer] No PES startcode at 0x%" PRIx64"\n",pkt.startAt); |
| 18 |
printf("0x:%02x %02x %02x %02x\n",pkt.payload[4],pkt.payload[5],pkt.payload[6],pkt.payload[7]); |
| 19 |
goto nextPack3; |
| 20 |
} |
| 21 |
@@ -433,7 +433,7 @@ nextPack3: |
| 22 |
/** |
| 23 |
\fn decodePesHeader |
| 24 |
*/ |
| 25 |
-#define fail(x) {printf("[Ts Demuxer]*********"x"*******\n");return false;} |
| 26 |
+#define fail(x) {printf("[Ts Demuxer]*********" x"*******\n");return false;} |
| 27 |
bool tsPacket::decodePesHeader(TS_PESpacket *pes) |
| 28 |
{ |
| 29 |
uint8_t *start=pes->payload+6; |
| 30 |
@@ -735,7 +735,7 @@ bool tsPacketLinear::read(uint32_t le |
| 31 |
*/ |
| 32 |
bool tsPacketLinear::getInfo(dmxPacketInfo *info) |
| 33 |
{ |
| 34 |
-#warning FIXME |
| 35 |
+//#warning FIXME |
| 36 |
if(pesPacket->offset<4) |
| 37 |
{ |
| 38 |
info->startAt=this->oldStartAt; |
| 39 |
@@ -780,12 +780,12 @@ bool tsPacketLinear::seek(uint64_t pa |
| 40 |
{ |
| 41 |
if(!_file->setpos(packetStart)) |
| 42 |
{ |
| 43 |
- printf("[tsPacket] Cannot seek to %"PRIx64"\n",packetStart); |
| 44 |
+ printf("[tsPacket] Cannot seek to %" PRIx64"\n",packetStart); |
| 45 |
return 0; |
| 46 |
} |
| 47 |
if(!refill()) |
| 48 |
{ |
| 49 |
- printf("[tsPacketLinear] Seek to %"PRIx64":%"PRIx32" failed\n",packetStart,offset); |
| 50 |
+ printf("[tsPacketLinear] Seek to %" PRIx64":%" PRIx32" failed\n",packetStart,offset); |
| 51 |
return false; |
| 52 |
} |
| 53 |
ADM_assert(offset<pesPacket->payloadSize); |