Files
packages/ffmpeg-LCEVCdec-4.patch
T
Raboneko 0b76cb28ae fix(ffmpeg): Track LCEVCdec, update patches, drop libnpp for now (#5993) (#6289)
* Rebase on F42

* Empty commit I hate GitHub



* This URL is unreachable with the source fetching cURL params currently

* GCC14 real this time?



* Okay



* Gonna have to figure something else out



* Death

* I guess maybe



* ?



* Try removing Wall again I guess



* Oops



* IDK

* Update configure.patch



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* chore: Also track LCEVCdec

* chore: Change some patches

* Update ffmpeg.spec



* Update ffmpeg.spec



* chore: Disable libnpp because it's just BROKEN



* chore(update.rhai): Comment out libnpp tracking for now



* chore: Delete ffmpeg-nvcc.patch



---------



(cherry picked from commit 6fb5fa85eb)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
Co-authored-by: madomado <madonuko@outlook.com>
2025-09-04 02:20:25 +08:00

41 lines
1.6 KiB
Diff

--- a/libavcodec/lcevcdec.c
+++ b/libavcodec/lcevcdec.c
@@ -139,7 +139,7 @@ static int lcevc_send_frame(void *logctx
if (!sd)
return 1;
- res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size);
+ res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, (uint64_t) in->pts, sd->data, sd->size);
if (res != LCEVC_Success)
return AVERROR_EXTERNAL;
@@ -147,7 +147,7 @@ static int lcevc_send_frame(void *logctx
if (ret < 0)
return ret;
- res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, NULL);
+ res = LCEVC_SendDecoderBase(lcevc->decoder, (uint64_t) in->pts, picture, -1, NULL);
if (res != LCEVC_Success)
return AVERROR_EXTERNAL;
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -139,7 +139,7 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
return ret;
if (sd) {
- res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size);
+ res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, (uint64_t) in->pts, sd->data, sd->size);
if (res == LCEVC_Again)
return AVERROR(EAGAIN);
else if (res != LCEVC_Success) {
@@ -148,7 +148,7 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
}
}
- res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in);
+ res = LCEVC_SendDecoderBase(lcevc->decoder, (uint64_t) in->pts, picture, -1, in);
if (res != LCEVC_Success) {
av_log(ctx, AV_LOG_ERROR, "LCEVC_SendDecoderBase failed\n");
LCEVC_FreePicture(lcevc->decoder, picture);