Skip to content

Commit

Permalink
Fix build a warning with Qt 6 and gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Oct 19, 2021
1 parent 8619486 commit 9d617f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webrtc/webrtc_video_track.cpp
Expand Up @@ -328,7 +328,7 @@ bool VideoTrack::Sink::decodeFrame(
0
};
uint8_t *dst[AV_NUM_DATA_POINTERS] = { frame->original.bits(), nullptr };
int dstLineSize[AV_NUM_DATA_POINTERS] = { frame->original.bytesPerLine(), 0 };
int dstLineSize[AV_NUM_DATA_POINTERS] = { int(frame->original.bytesPerLine()), 0 };

sws_scale(
_decodeContext.get(),
Expand Down

0 comments on commit 9d617f1

Please sign in to comment.