mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-21 16:41:52 +01:00
18 lines
538 B
Diff
18 lines
538 B
Diff
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
|
|
index dc43411..cfae5f1 100644
|
|
--- a/libhb/muxavformat.c
|
|
+++ b/libhb/muxavformat.c
|
|
@@ -1202,10 +1202,12 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu
|
|
{
|
|
pkt.flags |= AV_PKT_FLAG_KEY;
|
|
}
|
|
+#ifdef AV_PKT_FLAG_DISPOSABLE
|
|
if (!(buf->s.flags & HB_FLAG_FRAMETYPE_REF))
|
|
{
|
|
pkt.flags |= AV_PKT_FLAG_DISPOSABLE;
|
|
}
|
|
+#endif
|
|
}
|
|
else if (buf->s.frametype & HB_FRAME_MASK_KEY)
|
|
{
|