Skip to content

Commit 6dd9ef1

Browse files
author
aaronyzhang
committed
解码回调加入static声明,解决符号冲突问题
1 parent 414013c commit 6dd9ef1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iOS/QGVAPlayer/QGVAPlayer/Classes/Controllers/Decoders/QGMP4FrameHWDecoder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ - (void)onInputEnd {
469469
}
470470

471471
//decode callback
472-
void didDecompress(void *decompressionOutputRefCon, void *sourceFrameRefCon, OSStatus status, VTDecodeInfoFlags infoFlags, CVImageBufferRef pixelBuffer, CMTime presentationTimeStamp, CMTime presentationDuration ){
472+
static void didDecompress(void *decompressionOutputRefCon, void *sourceFrameRefCon, OSStatus status, VTDecodeInfoFlags infoFlags, CVImageBufferRef pixelBuffer, CMTime presentationTimeStamp, CMTime presentationDuration ){
473473

474474
CVPixelBufferRef *outputPixelBuffer = (CVPixelBufferRef *)sourceFrameRefCon;
475475
*outputPixelBuffer = CVPixelBufferRetain(pixelBuffer);

0 commit comments

Comments
 (0)