Skip to content

Commit

Permalink
fix crash in mix transition with consumer producer
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Nov 14, 2024
1 parent 2902592 commit 65c2f02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/avformat/filter_swresample.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ static int filter_get_audio(mlt_frame frame,
}

if (in.samples == 0) {
// Noting to convert.
// Nothing to convert.
*samples = 0;
return error;
}

Expand Down

0 comments on commit 65c2f02

Please sign in to comment.