Explorar o código

Update VideoPlayer.cpp

huihui %!s(int64=4) %!d(string=hai) anos
pai
achega
2cc7032db7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      module/VideoPlayer/src/VideoPlayer/VideoPlayer.cpp

+ 2 - 0
module/VideoPlayer/src/VideoPlayer/VideoPlayer.cpp

@@ -245,6 +245,8 @@ void VideoPlayer::readVideoFile()
     aCodec = nullptr;
     aFrame = nullptr;
 
+    swrCtx = nullptr;
+
     mAudioStream = nullptr;
     mVideoStream = nullptr;