[libav-devel] [PATCH 4/5] msmpeg4: Don't set up run-level info for level 0.

Luca Barbato lu_zero at gentoo.org
Fri Nov 4 00:05:33 CET 2011


On 11/3/11 4:03 PM, Alex Converse wrote:
> ---
>   libavcodec/msmpeg4.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
> index 93191cc..e5f8f12 100644
> --- a/libavcodec/msmpeg4.c
> +++ b/libavcodec/msmpeg4.c
> @@ -266,7 +266,7 @@ av_cold void ff_msmpeg4_encode_init(MpegEncContext *s)
>
>           for(i=0; i<NB_RL_TABLES; i++){
>               int level;
> -            for(level=0; level<=MAX_LEVEL; level++){
> +            for(level=1; level<=MAX_LEVEL; level++){
>                   int run;
>                   for(run=0; run<=MAX_RUN; run++){
>                       int last;

add a " " while at it.


More information about the libav-devel mailing list