avc: Cycle and packet are unsigned

This commit is contained in:
Quentin Smith 2011-04-18 15:16:00 -04:00 committed by David Schleef
parent 9f221469ec
commit 7ac4cd7ef5

View File

@ -224,8 +224,8 @@ MyStructuredDataPushProc (UInt32 CycleDataCount,
GstAVCSrc *avcsrc = GST_AVC_SRC (pRefCon); GstAVCSrc *avcsrc = GST_AVC_SRC (pRefCon);
if (avcsrc) { if (avcsrc) {
for (int cycle = 0; cycle < CycleDataCount; cycle++) { for (UInt32 cycle = 0; cycle < CycleDataCount; cycle++) {
for (int sourcePacket = 0; sourcePacket < pCycleData[cycle].tsPacketCount; for (UInt32 sourcePacket = 0; sourcePacket < pCycleData[cycle].tsPacketCount;
sourcePacket++) { sourcePacket++) {
GstBuffer *buffer; GstBuffer *buffer;