[FFmpeg-devel] [PATCH] Fix nellymoser decode_tag return value

Stefano Sabatini stefano.sabatini-lala
Tue Nov 13 14:26:25 CET 2007

Hi all,

the audio decoder function should return the size of the input buffer
*used*, while in libavcodec/nellymoserdec.c it actually returns the
size of the decompressed frame.

You can spot the problem immediately using for example my tool ffprobe
(http://sourceforge.net/projects/ffprobe) which shows for each audio
nellymoser frame these informations (-show_frames):

samples_size=1.000 Kibyte
size=1.000 Kibyte
pkt_pts=0:00:00.046 s
pkt_dts=0:00:00.046 s
pkt_duration=0:00:00.000 s

Suggested log: $subject.

Best regards.
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-return-nelly-decoder-value-00.patch
Type: text/x-diff
Size: 405 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071113/3843ff25/attachment.patch>

More information about the ffmpeg-devel mailing list