mirror of
https://github.com/jellyfin/jellyfin-ffmpeg.git
synced 2026-09-02 21:03:08 +03:00
14 lines
496 B
Diff
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;
|
|
|