On Wed, 7 Sep 2011 16:50:48 -0400, Justin Ruggles <[email protected]> wrote: > Based on a patch by Stefano Sabatini. > git.videolan.org/ffmpeg.git > commit e280a4da2ae6fd44f0079358ecc5aa08e388a5ed > --- > libavcodec/8svx.c | 34 ++++++++++++++++++++++++---------- > 1 files changed, 24 insertions(+), 10 deletions(-) > > diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c > index 4b60377..3155171 100644 > --- a/libavcodec/8svx.c > +++ b/libavcodec/8svx.c > @@ -41,6 +41,26 @@ static const int16_t fibonacci[16] = { -34<<8, -21<<8, > -13<<8, -8<<8, -5<<8, > static const int16_t exponential[16] = { -128<<8, -64<<8, -32<<8, -16<<8, > -8<<8, -4<<8, -2<<8, -1<<8, > 0, 1<<8, 2<<8, 4<<8, 8<<8, 16<<8, > 32<<8, 64<<8 }; > > +/** > + * Delta decode the compressed values in src, and put the resulting > + * decoded samples in dst. > + */
This comment could mention that state is modified. Otherwise looks simple enough. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
