فهرست منبع

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;