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;