Skip to content

Commit

Permalink
fix pontential crash dereferencing pointer that could be null
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Jan 5, 2025
1 parent c414751 commit 2418215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/NullDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class NullDecoder : public webrtc::VideoDecoder {
.set_ntp_time_ms(input_image.NtpTimeMs())
.build();

RTC_LOG(LS_VERBOSE) << "Decode " << frame.id() << " " << input_image._frameType << " " << frameBuffer->width() << "x" << frameBuffer->height() << " " << frameBuffer->GetI420()->StrideY();
RTC_LOG(LS_VERBOSE) << "Decode " << frame.id() << " " << input_image._frameType << " " << frameBuffer->width() << "x" << frameBuffer->height();

m_decoded_image_callback->Decoded(frame);

Expand Down

0 comments on commit 2418215

Please sign in to comment.