OSDN Git Service

adpcm: Only increment heap_pos after finding a good enough sample
authorMartin Storsjö <martin@martin.st>
Fri, 19 Nov 2010 17:36:29 +0000 (17:36 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Nov 2010 17:36:29 +0000 (17:36 +0000)
commit78f9d35c9abeb9842656fa9344ca34fe370ce1db
tree15639138f664daa87fa60731b06a8a74c28180c8
parentd764e3ece9608613c6332a6f96f2673dfe086f3a
adpcm: Only increment heap_pos after finding a good enough sample

This increases the PSNR slightly (about 0.1 dB) for trellis sizes
below 8, and gives equal PSNR for sizes above that.

Originally committed as revision 25769 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/adpcm.c