summaryrefslogtreecommitdiff
path: root/ext/flac
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flac')
-rw-r--r--ext/flac/gstflacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 8a5ec78d0..d31de07d8 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -661,7 +661,7 @@ gst_flac_enc_set_metadata (GstFlacEnc * flacenc, GstAudioInfo * info,
&& gst_structure_has_name (structure, "image/png")
&& png_icon_count++ == 0) {
image_type = 1;
- } else if (width <= 32 && height <= 32 && ++other_icon_count == 0) {
+ } else if (width <= 32 && height <= 32 && other_icon_count++ == 0) {
image_type = 2;
} else {
image_type = 0; /* Other */