mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit '8d695dc411c1ae28477f107d6f7bf2db59af95df'
* commit '8d695dc411c1ae28477f107d6f7bf2db59af95df': mpeg: Mark ff_mpeg_set_erpic() static Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
412015694c
@ -3237,7 +3237,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;
|
||||
|
||||
@ -3264,9 +3264,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;
|
||||
|
@ -755,7 +755,6 @@ void ff_set_qscale(MpegEncContext * s, int qscale);
|
||||
|
||||
/* Error resilience */
|
||||
void ff_mpeg_er_frame_start(MpegEncContext *s);
|
||||
void ff_mpeg_set_erpic(ERPicture *dst, Picture *src);
|
||||
|
||||
int ff_dct_common_init(MpegEncContext *s);
|
||||
int ff_dct_encode_init(MpegEncContext *s);
|
||||
|
Loading…
Reference in New Issue
Block a user