Skip to content

Commit a63cab7

Browse files
committed
SGDecodeContext: Predecode.
1 parent 24ef7f9 commit a63cab7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SGPlayer/Classes/Core/SGDecoder/SGDecodeContext.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ - (void)putPacket:(SGPacket *)packet
6464
{
6565
SGObjectQueue *packetQueue = self->_packetQueues.lastObject;
6666
SGCodecDescriptor *codecDescriptor = self->_codecDescriptors.lastObject;
67-
if (![codecDescriptor isEqualCodecContextToDescriptor:packet.codecDescriptor]) {
67+
if (![codecDescriptor isEqualToDescriptor:packet.codecDescriptor]) {
6868
packetQueue = [[SGObjectQueue alloc] init];
6969
codecDescriptor = [packet.codecDescriptor copy];
7070
[self->_packetQueues addObject:packetQueue];

0 commit comments

Comments
 (0)