소스 검색

Update VideoPlayer.cpp

huihui 4 년 전
부모
커밋
2cc7032db7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;