Snippets for smpeg 0.4.4 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/smpeg/0.4.4_18/150amd64-default.log.
-
mpegtoraw.cpp:294:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 294 | else | ^ -
MPEGvideo.cpp:178:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 178 | SetError("Not a valid MPEG video stream"); | ^ -
MPEGvideo.cpp:459:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 459 | SetError("Not an MPEG video stream"); | ^ -
video.cpp:1058:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 1058 | vid_stream->_smpeg->SetError("Invalid sequence in video stream"); | ^ -
MPEG.cpp:111:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 111 | SetError("No audio/video stream found in MPEG"); | ^ -
MPEGsystem.cpp:437:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 437 | SetError("Could not find the beginning of MPEG data\n"); | ^ -
MPEGsystem.cpp:1245:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 1245 | SetError("Could not find the beginning of MPEG data\n"); | ^ -
MPEGsystem.cpp:1326:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 1326 | system->SetError("Could not find the beginning of MPEG data\n"); | ^ -
plaympeg.c:265:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 265 | fprintf(stderr, answer + 4); | ^~~~~~~~~~