fix writing raw flac does not set its duration
fix writing raw flac does not set its duration

See https://forum.shotcut.org/t/importing-flac-file-exported-from-shotcut-
to-timeline-freezes-the-application/25460

mltframework/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt