fftools/ffmpeg: Avoid creating unnecessary reference
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 3 Dec 2021 19:39:04 +0000 (20:39 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 5 Dec 2021 12:27:38 +0000 (13:27 +0100)
commitfc01a703dea4fe4f2eff73480958ee6c75aa8c30
tree8456ec63c5901d56169660692ae95b5c0d9d3a6d
parentb886512ef2503fc585c302484be71475d3100480
fftools/ffmpeg: Avoid creating unnecessary reference

The only caller of do_video_out() doesn't need the frame afterwards,
ergo one can replace an av_frame_ref() by av_frame_move_ref().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
fftools/ffmpeg.c