Skip to content

Commit

Permalink
Use av_write_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jan 16, 2024
1 parent 5970c7e commit f46fa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion av/av_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ CAMLprim value ocaml_av_flush(value _av) {
CAMLreturn(Val_unit);

caml_release_runtime_system();
ret = av_interleaved_write_frame(av->format_context, NULL);
ret = av_write_frame(av->format_context, NULL);
if (ret >= 0 && av->format_context->pb)
avio_flush(av->format_context->pb);
caml_acquire_runtime_system();
Expand Down

0 comments on commit f46fa49

Please sign in to comment.