]> git.sesse.net Git - ffmpeg/commitdiff
mpegvideo: Mark one function as static
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 8 Jun 2015 12:00:52 +0000 (13:00 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 10 Jun 2015 13:06:44 +0000 (14:06 +0100)
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h

index 68f95685d1e4790beede1584a50dd3fd781ab166..0a4f5bb7dcc5a21f1ab1313ed8a62acbe30870d0 100644 (file)
@@ -1448,7 +1448,7 @@ void ff_print_debug_info(MpegEncContext *s, Picture *p)
 /**
  * find the lowest MB row referenced in the MVs
  */
-int ff_mpv_lowest_referenced_row(MpegEncContext *s, int dir)
+static int lowest_referenced_row(MpegEncContext *s, int dir)
 {
     int my_max = INT_MIN, my_min = INT_MAX, qpel_shift = !s->quarter_sample;
     int my, off, i, mvs;
@@ -1646,12 +1646,12 @@ FF_ENABLE_DEPRECATION_WARNINGS
                 if(HAVE_THREADS && s->avctx->active_thread_type&FF_THREAD_FRAME) {
                     if (s->mv_dir & MV_DIR_FORWARD) {
                         ff_thread_await_progress(&s->last_picture_ptr->tf,
-                                                 ff_mpv_lowest_referenced_row(s, 0),
+                                                 lowest_referenced_row(s, 0),
                                                  0);
                     }
                     if (s->mv_dir & MV_DIR_BACKWARD) {
                         ff_thread_await_progress(&s->next_picture_ptr->tf,
-                                                 ff_mpv_lowest_referenced_row(s, 1),
+                                                 lowest_referenced_row(s, 1),
                                                  0);
                     }
                 }
index 1a6857dd425e2a5656ce75a6f0e65fc8e5c6a382..667566aacca0b03c7b43a417af948988359347ff 100644 (file)
@@ -605,8 +605,6 @@ void ff_mpv_report_decode_progress(MpegEncContext *s);
 int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx);
 void ff_mpv_frame_end(MpegEncContext *s);
 
-int ff_mpv_lowest_referenced_row(MpegEncContext *s, int dir);
-
 int ff_mpv_encode_init(AVCodecContext *avctx);
 void ff_mpv_encode_init_x86(MpegEncContext *s);