修复RTOS下无法创建缩略图的问题

This commit is contained in:
sober.song 2023-12-30 19:06:36 +08:00
parent 72c115a00b
commit 2bf30912db
2 changed files with 2 additions and 6 deletions

View File

@ -1193,9 +1193,7 @@ static void MovieFast_UserEventCb(UINT32 id, MOVIE_USER_CB_EVENT event_id, UINT3
{
DBG_ERR("dcf_handle err\n");
}
}
else
{
if(mmc_dev->dev_type == MMC_DEV_SD)
{
snprintf(tmp, sizeof(tmp), "%c%s%s", 'A', MOVIE_THUMB_PATH, thumb_current_path); /* DCF 8.3 naming rule */

View File

@ -2397,9 +2397,7 @@ INT32 PhotoFast_SliceEncode_CB3(void* user_data)
{
DBG_ERR("dcf_handle err\n");
}
}
else
{
if(mmc_dev->dev_type == MMC_DEV_SD)
{
snprintf(tmp, sizeof(tmp), "%c%s%s", 'A', PHOTO_THUMB_PATH, file_path); /* DCF 8.3 naming rule */