Skip to content

Commit 079cf1b

Browse files
committed
add return value for case that should not occur
1 parent f6a8ce7 commit 079cf1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libheif/pixelimage.cc

+1
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ uint8_t HeifPixelImage::get_visual_image_bits_per_pixel() const
562562
break;
563563
default:
564564
assert(false);
565+
return 0;
565566
break;
566567
}
567568
}

0 commit comments

Comments
 (0)