Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
vbrfix
vbrfix-fix-typos.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vbrfix-fix-typos.diff of Package vbrfix
Fix some tipos in the output of the program. --- a/vbrfixc/main.cpp +++ b/vbrfixc/main.cpp @@ -44,7 +44,7 @@ if(f=="-ri1")return VBR_RemoveId3v1; if(f=="-ri2")return VBR_RemoveId3v2; if(f=="-skiplame")return VBR_SkipLAME; - if(f=="-allways")return VBR_AlwaysWrite; + if(f=="-allways"||f=="-always")return VBR_AlwaysWrite; if(f=="-makevbr")return VBR_AlwaysWriteVBR; if(f=="-log")return VBR_WriteLogFile; if(f=="-lameinfo")return VBR_ReplaceLAMEkeepinfo; @@ -64,8 +64,8 @@ cout << "-ri1 removeId3v1 Tag"<<endl; cout << "-ri2 removeId3v2 Tag"<<endl; cout << "-skiplame if tag made by lame don't fix it"<<endl; - cout << "-allways always write even if not vbr"<<endl; - cout << "-makevbr make it vbr(you need -allways also)"<<endl; + cout << "-always always write even if not vbr"<<endl; + cout << "-makevbr make it vbr (you need -always also)"<<endl; cout << "-log write a log file"<<endl; cout << "-lameinfo keep the lame info"<<endl; return EXIT_SUCCESS; --- a/vbrfixc/vbrfix.cpp +++ b/vbrfixc/vbrfix.cpp @@ -298,7 +298,7 @@ bool e=false;unsigned char c;uint correctv1=0,correctv2=0,p=0;char ev1[]="LYRICSEND";char ev2[]="LYRICS200"; while(!e && mp3.getpos()< mp3length){ mp3.fRead(&c,1); - if(c==255){logi("Error byte value of 255 in the lyrics3 tag!, asuming tag has ended");e=true;} + if(c==255){logi("Error byte value of 255 in the lyrics3 tag!, assuming tag has ended");e=true;} if(c==ev1[correctv1])correctv1++;else {correctv1=0;if(c==ev1[correctv1])correctv1++;} if(c==ev2[correctv2])correctv2++;else {correctv2=0;if(c==ev2[correctv2])correctv2++;} if(correctv1==sizeof(ev1)-1 && p<5100){logf("version 1");e=true;}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor