Skip to content

Commit

Permalink
Merge pull request #342 from Pleune/ros2
Browse files Browse the repository at this point in the history
Remove deprecared/unneeded avcodec_close()
  • Loading branch information
flynneva authored Jan 25, 2025
2 parents 501af3d + 41805f7 commit 9c7e4da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/usb_cam/formats/mjpeg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ class MJPEG2RGB : public pixel_format_base
free(m_avoptions);
}
if (m_avcodec_context) {
avcodec_close(m_avcodec_context);
avcodec_free_context(&m_avcodec_context);
}
if (m_avframe_device) {
Expand Down

0 comments on commit 9c7e4da

Please sign in to comment.