Skip to content

Commit

Permalink
Merge pull request #324 from clalancette/clalancette/const-avcodec
Browse files Browse the repository at this point in the history
Switch to a const AVCodec *.
  • Loading branch information
flynneva committed Mar 30, 2024
2 parents 70ed391 + 0e9fe35 commit a8962cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/usb_cam/formats/mjpeg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class MJPEG2RGB : public pixel_format_base
std::cerr << m_averror_str << std::endl;
}

AVCodec * m_avcodec;
const AVCodec * m_avcodec;
AVCodecContext * m_avcodec_context;
AVCodecParserContext * m_avparser;
AVFrame * m_avframe_device;
Expand Down

0 comments on commit a8962cb

Please sign in to comment.