mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] suppress warnings
Some warnings can not be solved as they depend on external libraries or limitations of the C standard. Suppress these warnings selectively
This commit is contained in:
@@ -162,7 +162,11 @@ static BOOL tsmf_ffmpeg_init_stream(ITSMFDecoder* decoder, const TS_AM_MEDIA_TYP
|
||||
UINT32 size = 0;
|
||||
const BYTE* s = NULL;
|
||||
TSMFFFmpegDecoder* mdecoder = (TSMFFFmpegDecoder*)decoder;
|
||||
|
||||
WINPR_PRAGMA_DIAG_PUSH
|
||||
WINPR_PRAGMA_DIAG_IGNORED_QUALIFIERS
|
||||
mdecoder->codec = avcodec_find_decoder(mdecoder->codec_id);
|
||||
WINPR_PRAGMA_DIAG_POP
|
||||
|
||||
if (!mdecoder->codec)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user