Ver código fonte

Update VideoPlayer.cpp

huihui 4 anos atrás
pai
commit
2cc7032db7
1 arquivos alterados com 2 adições e 0 exclusões
  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;