]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motion_est_template.c
Add a missing break, before av_set_number would always return NULL for
[ffmpeg] / libavcodec / motion_est_template.c
index e0142502695b1b09dba9ec37a74eeddda5f9a761..70b4f824a248db821c224d6d6c21456084e7d686 100644 (file)
@@ -17,7 +17,6 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  */
 
 /**
 
 //lets hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...)
 #define LOAD_COMMON\
-    uint32_t attribute_unused * const score_map= c->score_map;\
-    const int attribute_unused xmin= c->xmin;\
-    const int attribute_unused ymin= c->ymin;\
-    const int attribute_unused xmax= c->xmax;\
-    const int attribute_unused ymax= c->ymax;\
+    uint32_t av_unused * const score_map= c->score_map;\
+    const int av_unused xmin= c->xmin;\
+    const int av_unused ymin= c->ymin;\
+    const int av_unused xmax= c->xmax;\
+    const int av_unused ymax= c->ymax;\
     uint8_t *mv_penalty= c->current_mv_penalty;\
     const int pred_x= c->pred_x;\
     const int pred_y= c->pred_y;\
@@ -1004,7 +1003,7 @@ static av_always_inline int epzs_motion_search_internal(MpegEncContext * s, int
     MotionEstContext * const c= &s->me;
     int best[2]={0, 0};      /*!< x and y coordinates of the best motion vector.
                                i.e. the difference between the position of the
-                               block current being encoded and the position of
+                               block currently being encoded and the position of
                                the block chosen to predict it from. */
     int d;                   ///< the score (cmp + penalty) of any given mv
     int dmin;                /*!< the best value of d, i.e. the score