Skip to content

Commit

Permalink
Try to fix double-free and un-aligned jvm crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Jun 30, 2024
1 parent 8a301af commit 5de6a44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/io/antmedia/integration/MuxingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ public static boolean testFile(String absolutePath, int expectedDurationInMS, bo
}
i++;
avcodec.av_packet_unref(pkt);
pkt.close();
pkt = null;
}

if (inputFormatContext.duration() != AV_NOPTS_VALUE) {
Expand Down

0 comments on commit 5de6a44

Please sign in to comment.