Files
jellyfin-ffmpeg/debian/patches/0076-fix-seeking-h264-open-gop-videos-with-d3d11va-on-amd.patch
T
2026-05-28 10:53:47 +08:00

14 lines
496 B
Diff

Index: FFmpeg/libavcodec/h264_slice.c
===================================================================
--- FFmpeg.orig/libavcodec/h264_slice.c
+++ FFmpeg/libavcodec/h264_slice.c
@@ -1150,7 +1150,7 @@ static int h264_init_ps(H264Context *h,
if (flush_changes)
ff_h264_flush_change(h);
- if ((ret = get_pixel_format(h, must_reinit || needs_reinit)) < 0)
+ if ((ret = get_pixel_format(h, 1)) < 0)
return ret;
h->avctx->pix_fmt = ret;