[FFmpeg-devel] [PATCH 1/2] xface: reduce table sizes.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Nov 23 06:53:49 CET 2014


On Sun, Nov 23, 2014 at 12:20:00AM +0100, Stefano Sabatini wrote:
> On date Saturday 2014-11-22 23:31:58 +0100, Reimar Döffinger encoded:
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > ---
> >  libavcodec/xface.h | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/libavcodec/xface.h b/libavcodec/xface.h
> > index 6fbe908..63df5d3 100644
> > --- a/libavcodec/xface.h
> > +++ b/libavcodec/xface.h
> > @@ -85,8 +85,8 @@ enum XFaceColor { XFACE_COLOR_BLACK = 0, XFACE_COLOR_GREY, XFACE_COLOR_WHITE };
> >   * The probability of the data determines the range of possible encodings.
> >   * Offset gives the first possible encoding of the range. */
> >  typedef struct {
> > -    int range;
> > -    int offset;
> > +    uint8_t range;
> > +    uint8_t offset;
> >  } ProbRange;
> 
> LGTM.

Both pushed, thanks.


More information about the ffmpeg-devel mailing list