Bad memory access in libtheora beta3

"[email protected]" <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
Hi,

I didn't get to the bottom of it, but Valgrind is whining
on libtheora when encoding a video to a 16 width or
16 height video. While you may think I'm weird for
encoding to such a size, I didn't care about the output
video, but I reckon it should work. The bad accesses
seemed to be of pixel data, in FilterVert__c, and in
FilterHorz__c (from memory), but I didn't investigate
more as there wasn't anything obvious after looking for
a few minutes, and I was busy valgrinding other stuff.

This was using SVN ffmpeg2theora, which no changes
that would cause that (famous last words). Command
line was something like:
./ffmpeg2theora -o /tmp/out.ogv --nosound -x 16 -y 16 [irrelevant
options] foo.ogv
(yes, from Theora too, I didn't care about the video, the
--nosound was to prevent ffmpeg2theora from dying due
to the note below).

On another note, which you may or may not care
about, Valgrind also whines for both the Vorbis and
Theora decoders in ffmpeg (I believe they're both
custom, though I haven't checked).

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.