mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-04 12:14:29 +00:00
no message
This commit is contained in:
@@ -24,7 +24,7 @@ final class FFMpegAudioFrameDecoder: MediaTrackFrameDecoder {
|
||||
}
|
||||
|
||||
func decode(frame: MediaTrackDecodableFrame) -> MediaTrackFrame? {
|
||||
var status = avcodec_send_packet(self.codecContext, frame.packet)
|
||||
var status = frame.packet.sendToDecoder(self.codecContext)
|
||||
if status == 0 {
|
||||
status = avcodec_receive_frame(self.codecContext, self.audioFrame)
|
||||
if status == 0 {
|
||||
|
||||
Reference in New Issue
Block a user