mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
avcodec/v4l2_m2m: Remove redundant av_frame_unref()
This frame will be freed in the next line. Reviewed-by: Zhao Zhili <quinkblack@foxmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
05bfc03752
commit
45b4781e9a
@ -255,7 +255,6 @@ static void v4l2_m2m_destroy_context(void *opaque, uint8_t *context)
|
||||
|
||||
if (s->fd >= 0)
|
||||
close(s->fd);
|
||||
av_frame_unref(s->frame);
|
||||
av_frame_free(&s->frame);
|
||||
av_packet_unref(&s->buf_pkt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user