Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6486620 authored by Anton Daubert's avatar Anton Daubert Committed by Android (Google) Code Review
Browse files

Merge "Fix the initialize of PreviewImageData to its default values."

parents e5342ad5 8f7a8f1e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -81,7 +81,8 @@ size_t FileStream::size() const {

bool GetExifFromRawImage(
        FileStream* stream, const String8& filename, piex::PreviewImageData& image_data) {
    memset(&image_data, 0, sizeof(image_data));
    // Reset the PreviewImageData to its default.
    image_data = piex::PreviewImageData();

    if (!stream->exists()) {
        // File is not exists.