Skip to content

Commit

Permalink
workaround for stupid compilers thinking that they are smart (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 11, 2020
1 parent 97dd512 commit 421c50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/heif_encoder_aom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ struct heif_error aom_encode_image(void* encoder_raw, const struct heif_image* i

aom_image_t input_image;

aom_img_fmt_t img_format;
aom_img_fmt_t img_format = AOM_IMG_FMT_NONE;

switch (chroma) {
case heif_chroma_420:
Expand Down

0 comments on commit 421c50f

Please sign in to comment.