Brian Lewis <brian@...> writes:

> Hi, I'm getting some invalid reads and uses of uninitialized 
> values in valgrind that I can't clear up.

(valgrind output missing.)

> int buf_size = avpicture_get_size(PIX_FMT_OUT, WIDTH, HEIGHT);
> uint8_t *buf = malloc(buf_size);

Does it get better if you allocate more memory?
(FF_INPUT_BUFFER_PADDING_SIZE)

Not necessarily related:
On some (broken) platforms, you have to use av_malloc() 
to ensure sufficient alignment.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to