mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit 'bedf952bb80ae26427854dcde56c139ecb87d4a0'
* commit 'bedf952bb80ae26427854dcde56c139ecb87d4a0': mpegvideo: move setting encoding-only vars from common_defaults() to encode_defaults() Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
2951b7fb1d
@ -818,9 +818,6 @@ void ff_MPV_common_defaults(MpegEncContext *s)
|
||||
|
||||
s->coded_picture_number = 0;
|
||||
s->picture_number = 0;
|
||||
s->input_picture_number = 0;
|
||||
|
||||
s->picture_in_gop_number = 0;
|
||||
|
||||
s->f_code = 1;
|
||||
s->b_code = 1;
|
||||
|
@ -217,6 +217,9 @@ static void MPV_encode_defaults(MpegEncContext *s)
|
||||
}
|
||||
s->me.mv_penalty = default_mv_penalty;
|
||||
s->fcode_tab = default_fcode_tab;
|
||||
|
||||
s->input_picture_number = 0;
|
||||
s->picture_in_gop_number = 0;
|
||||
}
|
||||
|
||||
av_cold int ff_dct_encode_init(MpegEncContext *s) {
|
||||
|
Loading…
Reference in New Issue
Block a user