Skip to content

Commit 65c2f02

Browse files
committed
fix crash in mix transition with consumer producer
See https://forum.shotcut.org/t/adding-to-timeline-a-mlt-as-a-clip-with- different-fps-crashes-shotcut/46418
1 parent 2902592 commit 65c2f02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/modules/avformat/filter_swresample.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ static int filter_get_audio(mlt_frame frame,
6464
}
6565

6666
if (in.samples == 0) {
67-
// Noting to convert.
67+
// Nothing to convert.
68+
*samples = 0;
6869
return error;
6970
}
7071

0 commit comments

Comments
 (0)