aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-06-20 05:25:12 -0700
committerDiego Biurrun <diego@biurrun.de>2014-06-22 06:28:46 -0700
commit8d695dc411c1ae28477f107d6f7bf2db59af95df (patch)
tree3e6c101cc96941b760cf513acde14c6566084ece /libavcodec/mpegvideo.c
parenta6a675a79287565c3c23455439b114676b63a96c (diff)
downloadffmpeg-8d695dc411c1ae28477f107d6f7bf2db59af95df.tar.gz
mpeg: Mark ff_mpeg_set_erpic() static
It is not used outside of the file.
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f6fc8dc3a8..f32aad2382 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2468,7 +2468,7 @@ void ff_MPV_report_decode_progress(MpegEncContext *s)
}
#if CONFIG_ERROR_RESILIENCE
-void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)
+static void set_erpic(ERPicture *dst, Picture *src)
{
int i;
@@ -2494,9 +2494,9 @@ void ff_mpeg_er_frame_start(MpegEncContext *s)
{
ERContext *er = &s->er;
- ff_mpeg_set_erpic(&er->cur_pic, s->current_picture_ptr);
- ff_mpeg_set_erpic(&er->next_pic, s->next_picture_ptr);
- ff_mpeg_set_erpic(&er->last_pic, s->last_picture_ptr);
+ set_erpic(&er->cur_pic, s->current_picture_ptr);
+ set_erpic(&er->next_pic, s->next_picture_ptr);
+ set_erpic(&er->last_pic, s->last_picture_ptr);
er->pp_time = s->pp_time;
er->pb_time = s->pb_time;