On Tue, Sep 28, 2010 at 06:49:37PM +0200, Jannis Achstetter wrote:
> >> When using the "decode audio"-part from the api-example.c on a normal
> >> MP3-file, I also get "Incorrect frame size"-errors/warnings.
> > 
> > Does ffplay show that error/warning? If not, you're likely doing
> > something different from ffplay, and I'd suggest to work your way back
> > from there.
> 
> No, ffplay does not show these warnings. I had a short look into
> ffplay.c and saw many things with SDL and video so I stopped searching
> there but I will try to find out important parts aboud audio decoding there.
> 

Look at the code I pasted a few hours ago on this m-l, and change len/2 with
audio_data/4. This code is correct, so you can base yours on.

Regards,

-- 
Clément B.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to