On Wed, May 08, 2024 at 05:19:50PM +0200, Ramiro Polla wrote: > In direct_search() and ff_estimate_b_frame_motion(), penalty_factor > would be used before being initialized in estimate_motion_b(). Also, > the initialization would happen more than once unnecessarily. > --- > libavcodec/motion_est.c | 15 ++++++++------- > tests/ref/vsynth/vsynth1-mpeg4-thread | 6 +++--- > tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd | 6 +++--- > tests/ref/vsynth/vsynth2-mpeg4-adap | 8 ++++---- > tests/ref/vsynth/vsynth2-mpeg4-qprd | 6 +++--- > tests/ref/vsynth/vsynth2-mpeg4-thread | 6 +++--- > tests/ref/vsynth/vsynth_lena-mpeg4-rc | 4 ++-- > 7 files changed, 26 insertions(+), 25 deletions(-) probably ok thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws. -- Plato