Skip to content

Commit

Permalink
POpulateFrame can be const
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Jul 9, 2024
1 parent 89b19d2 commit a993ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zm_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Image::Image(const AVFrame *frame, int p_width, int p_height) :
static void dont_free(void *opaque, uint8_t *data) {
}

int Image::PopulateFrame(AVFrame *frame) {
int Image::PopulateFrame(AVFrame *frame) const {
Debug(1, "PopulateFrame: width %d height %d linesize %d colours %d imagesize %d %s",
width, height, linesize, colours, size,
av_get_pix_fmt_name(imagePixFormat)
Expand Down

0 comments on commit a993ddb

Please sign in to comment.