mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
ffmppg typo fix
This commit is contained in:
parent
6630833866
commit
36c7ee60a5
@ -10,3 +10,4 @@
|
||||
#import <FFMpegBinding/FFMpegPacket.h>
|
||||
#import <FFMpegBinding/FFMpegAVCodec.h>
|
||||
#import <FFMpegBinding/FFMpegRemuxer.h>
|
||||
#import <FFMpegBinding/FrameConverter.h>
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define FrameConverter_h
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
void fillDstPlane(uint8_t * _Nonnull dstPlane, uint8_t * _Nonnull srcPlane1, uint8_t * _Nonnull srcPlane2, size_t srcPlaneSize);
|
||||
|
||||
|
@ -295,7 +295,7 @@ public final class FFMpegMediaVideoFrameDecoder: MediaTrackFrameDecoder {
|
||||
dstPlane = malloc(dstPlaneSize)!.assumingMemoryBound(to: UInt8.self)
|
||||
self.dstPlane = (dstPlane, dstPlaneSize)
|
||||
}
|
||||
|
||||
|
||||
fillDstPlane(dstPlane, frame.data[1]!, frame.data[2]!, srcPlaneSize)
|
||||
|
||||
let status = CVPixelBufferLockBaseAddress(pixelBuffer, [])
|
||||
|
Loading…
x
Reference in New Issue
Block a user