summaryrefslogtreecommitdiff
path: root/src/media-thumb-internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-thumb-internal.c')
-rwxr-xr-xsrc/media-thumb-internal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 9899783..0514c6c 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -347,10 +347,10 @@ int _media_thumb_video(const char *origin_path, const char *thumb_path, int thum
err = __get_video_thumb(width, height, frame, size, rot_type, NULL, thumb_width, thumb_height, &dst_img);
if (err == MS_MEDIA_ERR_NONE) {
err = mm_image_get_image(dst_img, &width, &height, &format, &buf, &size);
- thumb_info->data = buf;
- thumb_info->size = size;
- thumb_info->width = width;
- thumb_info->height = height;
+ thumb_info->data = buf;
+ thumb_info->size = size;
+ thumb_info->width = width;
+ thumb_info->height = height;
}
mm_image_destroy_image(dst_img);