[FFmpeg-devel] [PATCH 1/3] avcodec/huffyuv: add a field that represents the number of symbols

Timothy Gu timothygu99 at gmail.com
Mon Jan 13 02:45:46 CET 2014


On Jan 12, 2014 4:22 PM, "Michael Niedermayer" <michaelni at gmx.at> wrote:
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavcodec/huffyuv.h    |    1 +
>  libavcodec/huffyuvdec.c |    2 ++
>  libavcodec/huffyuvenc.c |    1 +
>  3 files changed, 4 insertions(+)
>
> diff --git a/libavcodec/huffyuv.h b/libavcodec/huffyuv.h
> index b75cc89..0bd9f91 100644
> --- a/libavcodec/huffyuv.h
> +++ b/libavcodec/huffyuv.h
> @@ -68,6 +68,7 @@ typedef struct HYuvContext {
>      int yuy2;                               //use yuy2 instead of 422P
>      int bgr32;                              //use bgr32 instead of bgr24
>      int bps;
> +    int n;
>      int alpha;
>      int chroma;
>      int yuv;

Maybe add a comment on what it means as "n" is a fairly self-undescriptive
name.

Timothy


More information about the ffmpeg-devel mailing list