[k3b] [Bug 386105] K3b FFmpeg decode plugin seems to be broken, produces noise
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Oct 27 13:41:27 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=386105
--- Comment #3 from blaze at vivaldi.net ---
plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:
int K3bFFMpegFile::read( char* buf, int bufLen )
{
// ...
// TODO: only swap if needed
for( int i = 0; i < len-1; i+=2 ) {
char a = buf[i];
buf[i] = buf[i+1];
buf[i+1] = a;
}
// ...
}
What this code actually does? It looks the most suspicious.
And what "if needed" does mean?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list