@g3gg0
mlv_dump -c -c
is not working healthy right now. dng files comes out with 0 black and white level for instance. I narrowed the issue down to this change.
if(new_depth != old_depth)
reverting back to this and it works again.
if(new_depth)
There is also one of these beauties left
LJ92: Failed
which could go into nifty --relaxed to let mlv_dump produce compressed dng files.
/* set new compressed size and copy buffers */
frame_buffer = realloc(frame_buffer, compressed_size);
assert(frame_buffer);
memcpy(frame_buffer, compressed, compressed_size);
frame_buffer_size = compressed_size;
}
else
{
print_msg(MSG_ERROR, " LJ92: Failed (%d)\n", ret);
goto abort;
}
to
/* set new compressed size and copy buffers */
frame_buffer = realloc(frame_buffer, compressed_size);
assert(frame_buffer);
memcpy(frame_buffer, compressed, compressed_size);
frame_buffer_size = compressed_size;
}
else
{
print_msg(MSG_ERROR, " LJ92: Failed (%d)\n", ret);
if(relaxed)
{
goto skip_block;
}
goto abort;
}