Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
liangzhuohua committed Jun 14, 2024
1 parent 623a936 commit cd200ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QQuickRealTimePlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void QQuickRealTimePlayer::play(const QString &playUrl) {

void QQuickRealTimePlayer::stop() {
playStop = true;
if(decoder->pFormatCtx) {
if(decoder&&decoder->pFormatCtx) {
decoder->pFormatCtx->interrupt_callback.callback = [](void*) {
return 1;
};
Expand Down

0 comments on commit cd200ca

Please sign in to comment.