[FFmpeg-devel] [Patch]: Remove useless mb_xy in h264.c/h

avcoder ffmpeg
Sun Feb 21 03:04:02 CET 2010


Dear:

As $subject

Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c (revision 21931)
+++ libavcodec/h264.c (working copy)
@@ -981,7 +981,6 @@
     MpegEncContext * const s = &h->s;
     int deblock_left;
     int deblock_top;
-    int mb_xy;
     int top_idx = 1;
     uint8_t *top_border_m1;
     uint8_t *top_border;

Index: libavcodec/h264.h
===================================================================
--- libavcodec/h264.h (revision 21931)
+++ libavcodec/h264.h (working copy)
@@ -813,7 +813,6 @@

 static void fill_decode_caches(H264Context *h, int mb_type){
     MpegEncContext * const s = &h->s;
-    const int mb_xy= h->mb_xy;
     int topleft_xy, top_xy, topright_xy, left_xy[2];
     int topleft_type, top_type, topright_type, left_type[2];
     const uint8_t * left_block= h->left_block;


-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_useless_vars.diff
Type: application/octet-stream
Size: 854 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100221/72859c68/attachment.obj>



More information about the ffmpeg-devel mailing list