remove obsolete patch

This commit is contained in:
aptalca 2025-08-23 21:51:54 -04:00
parent 8f5d687dcb
commit ae0f517118
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548
3 changed files with 0 additions and 21 deletions

View File

@ -890,13 +890,9 @@ RUN \
https://ffmpeg.org/releases/ffmpeg-${FFMPEG}.tar.bz2 | \
tar -jx --strip-components=1 -C /tmp/ffmpeg
# Apply patch for svt-av1: https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2249#note_2361478864
COPY /ffmpeg_n7_fix.patch /tmp/ffmpeg/
RUN \
echo "**** compiling ffmpeg ****" && \
cd /tmp/ffmpeg && \
patch -p1 < ffmpeg_n7_fix.patch && \
./configure \
--disable-debug \
--disable-doc \

View File

@ -640,14 +640,10 @@ RUN \
curl -Lf \
https://ffmpeg.org/releases/ffmpeg-${FFMPEG}.tar.bz2 | \
tar -jx --strip-components=1 -C /tmp/ffmpeg
# Apply patch for svt-av1: https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2249#note_2361478864
COPY /ffmpeg_n7_fix.patch /tmp/ffmpeg/
RUN \
echo "**** compiling ffmpeg ****" && \
cd /tmp/ffmpeg && \
patch -p1 < ffmpeg_n7_fix.patch && \
./configure \
--disable-debug \
--disable-doc \

View File

@ -1,13 +0,0 @@
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 8fa42d590b..e99c656c5d 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -430,7 +430,7 @@ static av_cold int eb_enc_init(AVCodecContext *avctx)
svt_enc->eos_flag = EOS_NOT_REACHED;
- svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, svt_enc, &svt_enc->enc_params);
+ svt_ret = svt_av1_enc_init_handle(&svt_enc->svt_handle, &svt_enc->enc_params);
if (svt_ret != EB_ErrorNone) {
return svt_print_error(avctx, svt_ret, "Error initializing encoder handle");
}