[FFmpeg-devel] [PATCH] VP8: init one less near_mv

Ronald S. Bultje rsbultje
Thu Feb 17 23:14:08 CET 2011


Hi,

On Thu, Feb 17, 2011 at 4:57 PM, Jason Garrett-Glaser <jason at x264.com> wrote:
> This one didn't actually need to be initialized.
> ---
> ?libavcodec/vp8.c | ? ?1 -
> ?1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
> index 566ec65..f71a7b7 100644
> --- a/libavcodec/vp8.c
> +++ b/libavcodec/vp8.c
> @@ -481,7 +481,6 @@ void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y)
>
> ? ? AV_ZERO32(&near_mv[0]);
> ? ? AV_ZERO32(&near_mv[1]);
> - ? ?AV_ZERO32(&near_mv[2]);
>
> ? ? /* Process MB on top, left and top-left */
> ? ? #define MV_EDGE_CHECK(n)\
> --
> 1.7.3.2.451.g1c2ab.dirty

Looks OK, I think.

Ronald



More information about the ffmpeg-devel mailing list