mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-01 20:14:49 +02:00
Avoid bit-shifting of -1 value
This commit is contained in:
@@ -227,7 +227,7 @@ ExportFFmpeg::ExportFFmpeg()
|
||||
SetDescription(ExportFFmpegOptions::fmts[newfmt].Description(), fmtindex);
|
||||
|
||||
int canmeta = ExportFFmpegOptions::fmts[newfmt].canmetadata;
|
||||
if (canmeta && (canmeta == AV_VERSION_INT(-1,-1,-1) || canmeta <= avfver))
|
||||
if (canmeta && (canmeta == AV_CANMETA || canmeta <= avfver))
|
||||
{
|
||||
SetCanMetaData(true,fmtindex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user