Clean up headers and MP42SampleBuffer.
This commit is contained in:
1 parent
e2adc70d63
commit
7b1c7d0384
22 files changed
+122
-109
No files matched your search
@@ -255,7 +255,7 @@ static AVPacket * packetFromSampleBuffer(MP42SampleBuffer *sample)
|
||||
AVPacket *pkt = av_packet_alloc();
|
||||
pkt->data = sample->data;
|
||||
pkt->size = sample->size;
|
||||
pkt->pts = sample->timestamp;
|
||||
pkt->pts = sample->decodeTimestamp;
|
||||
pkt->dts = AV_NOPTS_VALUE;
|
||||
|
||||
return pkt;
|
||||
|
||||
Reference in new issue
Block a user