[FFmpeg-devel] [PATCH] avformat/mov: don't parse reserved ISOBMFF fields as if they were QT (PR #20993)

2025-11-21 Thread James Almer via ffmpeg-devel
undHandler -TAG:vendor_id=[0][0][0][0] [STREAM] index=0 id=0x0 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] FFmpeg 6.1.4 5.1.8

2025-11-21 Thread Michael Niedermayer via ffmpeg-devel
Description: PGP signature ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] tcp: add TCP keepalive tuning options

2025-11-21 Thread Discord Account via ffmpeg-devel
Thanks for the feedback. I'll focus on something else then. On Fri, Nov 21, 2025 at 11:36 PM Nicolas George via ffmpeg-devel < [email protected]> wrote: > Practice2001 via ffmpeg-devel (HE12025-11-21): > > Addition of tcp_keepalive, tcp_keepidle, tcp_keepintvl, and tcp

[FFmpeg-devel] Re: [PATCH] tcp: add TCP keepalive tuning options

2025-11-21 Thread Nicolas George via ffmpeg-devel
Practice2001 via ffmpeg-devel (HE12025-11-21): > Addition of tcp_keepalive, tcp_keepidle, tcp_keepintvl, and tcp_keepcnt > support to the TCP protocol. Exposeing these options to the HTTP protocol > so they can be used for HTTP(S) connections. Updated documentation. > Tested with:

[FFmpeg-devel] [PATCH] tcp: add TCP keepalive tuning options

2025-11-21 Thread Practice2001 via ffmpeg-devel
p_keepidle > 0 ? (DWORD)s->tcp_keepidle * 1000 : 720); +vals.keepaliveinterval = (DWORD)(s->tcp_keepintvl > 0 ? (DWORD)s->tcp_keepintvl * 1000 : 1000); +/* WSAIoctl returns SOCKET_ERROR on failure */ +if (WSAIoctl((SOCKET)fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals), + NULL, 0, &bytes, NULL, NULL) == SOCKET_ERROR) { +ff_log_net_error(ctx, AV_LOG_WARNING, "WSAIoctl(SIO_KEEPALIVE_VALS)"); +} +} +#endif /* HAVE_WINSOCK2_H */ + } #if !HAVE_WINSOCK2_H -- 2.34.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avcodec/qsv: Multiple calls to ff_qsv_init_session_frames() cause handle and memory leaks.

2025-11-21 Thread Xiang, Haihao via ffmpeg-devel
> -Original Message- > From: 김현호(HYUN HO KIM) via ffmpeg-devel > Sent: Tuesday, October 28, 2025 20:28 > To: [email protected] > Cc: 김현호(HYUN HO KIM) > Subject: [FFmpeg-devel] [PATCH] avcodec/qsv: Multiple calls to > ff_qsv_init_session_frames() cause ha

[FFmpeg-devel] [PATCH] avformat/oggenc: Schedule pagesize option for removal (PR #20992)

2025-11-21 Thread mkver via ffmpeg-devel
} @@ -477,9 +485,6 @@ static int ogg_init(AVFormatContext *s) OGGStreamContext *oggstream = NULL; int i, j; -if (ogg->pref_size) -av_log(s, AV_LOG_WARNING, "The pagesize option is deprecated\n"); - for (i = 0; i < s->nb_streams; i++) { AVS

[FFmpeg-devel] [PATCH] avutil/error: Avoid relocations and unused information (PR #20991)

2025-11-21 Thread mkver via ffmpeg-devel
RROR_R +#undef ENTRY +#define ENTRY(CODE, DESC) { .num = AVERROR(CODE), .offset = ERROR_ ## CODE ## _OFFSET }, +STRERROR_LIST(ENTRY) #endif }; int av_strerror(int errnum, char *errbuf, size_t errbuf_size) { -int ret = 0, i; -const struct error_entry *entry = NULL; - -for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) { +for (size_t i = 0; i < FF_ARRAY_ELEMS(error_entries); ++i) { if (errnum == error_entries[i].num) { -entry = &error_entries[i]; -break; +av_strlcpy(errbuf, error_stringtable + error_entries[i].offset, errbuf_size); +return 0; } } -if (entry) { -av_strlcpy(errbuf, entry->str, errbuf_size); -} else { #if HAVE_STRERROR_R -ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); +int ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); #else -ret = -1; +int ret = -1; #endif -if (ret < 0) -snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum); -} +if (ret < 0) +snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum); return ret; } diff --git a/libavutil/tests/error.c b/libavutil/tests/error.c index b7b253b7b5..774c71fcb9 100644 --- a/libavutil/tests/error.c +++ b/libavutil/tests/error.c @@ -18,13 +18,22 @@ #include "libavutil/error.c" +static const char *const tag_list[] = { +#define ERROR_TAG(CODE, DESC) #CODE, +#define ERROR_TAG2(CODE, CODE2, DESC) #CODE, +AVERROR_LIST(ERROR_TAG, ERROR_TAG2) +#if !HAVE_STRERROR_R +STRERROR_LIST(ERROR_TAG) +#endif +}; + int main(void) { int i; for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) { -const struct error_entry *entry = &error_entries[i]; -printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num), entry->tag); +const struct ErrorEntry *entry = &error_entries[i]; +printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num), tag_list[i]); } for (i = 0; i < 256; i++) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/mov: fix incorrect sample rate by parse srat box (PR #20990)

2025-11-21 Thread Zhao Zhili via ffmpeg-devel
/ av_dict_set(&st->metadata, "vendor_id", av_fourcc2str(id), 0); @@ -9479,6 +9519,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = { #if CONFIG_IAMFDEC { MKTAG('i','a','c','b'), mov_read_iacb }, #endif +{ MKTAG('s','r','a','t'), mov_read_srat }, { 0, NULL } }; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [RFC] mailing list From mangling and bounces and DMARC

2025-11-21 Thread Nicolas George via ffmpeg-devel
Hi. Pavel Roslyy via ffmpeg-devel (HE12025-11-11): > I was misunderstanding what mailman does, so my statement was nonsense > and can be disregarded. This thing is a maze of contradictory information and fallacies, many eyes on it is best to have a chance to find a solution. > I

[FFmpeg-devel] [PATCH] configure: Lower libdvdnav and libdvdread minimum versions for EL9 (PR #20989)

2025-11-21 Thread Neal Gompa via ffmpeg-devel
mp;& { check_pkg_config libfdk_aac fdk-aac "fdk-aac/aacenc_lib.h" aacEncOpen || { require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac && warn "using libfdk without pkg-config"; } } -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/apv_decode: Update metadata decoding to use byte order conversion functions (PR #20988)

2025-11-21 Thread dkozinski via ffmpeg-devel
if (clm) { -clm->MaxCLL = cll->max_cll; -clm->MaxFALL = cll->max_fall; + clm->MaxCLL = av_be2ne16(cll->max_cll); +clm->MaxFALL = av_be2ne16(cll->max_fall); } } break; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Changelog: fix spell and remove redundant descriptions (PR #20987)

2025-11-20 Thread Zhao Zhili via ffmpeg-devel
figure: unbreak glslang build swscale/range_convert: fix truncation bias in range conversion -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/xmv: Better handling of audio compressions relation to sample blocks (PR #20986)

2025-11-20 Thread GXTX via ffmpeg-devel
ast->codecpar->block_align = 36 * packet->channels; +ast->codecpar->block_align = XMV_BLOCK_ALIGN_SIZE * packet->channels; avpriv_set_pts_info(ast, 32, packet->block_samples, packet->sample_rate); -- 2.49.1 __________

[FFmpeg-devel] [PATCH] avformat/xmv: Handle zero sized packet at end of file (PR #20985)

2025-11-20 Thread GXTX via ffmpeg-devel
t) +return AVERROR_EOF; return AVERROR(EIO); /* Update the size */ -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swscale/x86/ops: fix signed integer related UB in normalize_clear() (PR #20984)

2025-11-20 Thread James Almer via ffmpeg-devel
priv.u16[i] << 16 | priv.u16[i]; break; +case 1: c.u32 = 0x1010101U * priv.u8[i]; break; +case 2: c.u32 = (uint32_t)priv.u16[i] << 16 | priv.u16[i]; break; case 4: c.u32 = priv.u32[i]; break; } -- 2.49.1 _______

[FFmpeg-devel] [PATCH] tools: Make indent_arm_assembly.pl able to reformat a file in place (PR #20980)

2025-11-20 Thread Martin Storsjö via ffmpeg-devel
OUTPUT); +rename($tempfile, $file); } -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/amf: fix hw_device_ctx handling (PR #20979)

2025-11-20 Thread ArazIusubov via ffmpeg-devel
me_ctx_alloc failed\n"); +} } else { ret = av_hwdevice_ctx_create_derived(&ctx->device_ctx_ref, AV_HWDEVICE_TYPE_AMF, avctx->hw_device_ctx, 0); AMF_GOTO_FAIL_IF_FALSE(avctx, ret == 0, ret, "Failed to create derived AMF device context: %s\n",

[FFmpeg-devel] [PATCH] [release/8.0] avutil/hwcontext_d3d12va: fix buf size when call av_buffer_create (PR #20978)

2025-11-20 Thread Zhao Zhili via ffmpeg-devel
2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [release/8.0] avformat/mov: fix missing video size and relax check on proj box size (PR #20977)

2025-11-19 Thread Zhao Zhili via ffmpeg-devel
packets is not constant, then they could need a parser if (st->codecpar->codec_id == AV_CODEC_ID_MP3 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] fate clients

2025-11-19 Thread Michael Niedermayer via ffmpeg-devel
___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [release/8.0] avcodec/hevc: fix decoding mv-hevc sample with long_term_rps (PR #20976)

2025-11-19 Thread Zhao Zhili via ffmpeg-devel
592, 0xecd67225 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [release/8.0]: videotoolbox: fix crash with negative linesize and move videotoolbox filter to the right place (PR #20975)

2025-11-19 Thread Zhao Zhili via ffmpeg-devel
_get_pix_fmt_name(frame->format)); +} +} pix_buf_pool = VTCompressionSessionGetPixelBufferPool(vtctx->session); if (!pix_buf_pool) { @@ -2578,7 +2444,7 @@ static int create_cv_pixel_buffer(AVCodecContext *avctx, return AVERROR_EXTERNAL; } -status = copy_avframe_to_pixel_buffer(avctx, frame, *cv_img, strides, heights); +status = copy_avframe_to_pixel_buffer(avctx, frame, *cv_img); if (status) { CFRelease(*cv_img); *cv_img = NULL; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/libaomenc: fix MSan warning (PR #20974)

2025-11-19 Thread jzern via ffmpeg-devel
tlidstr[id]); +av_log(avctx, AV_LOG_DEBUG, " %*s%d\n", width, buf, *ptr); + return 0; } #endif -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/d3d12va_encode: support motion estimation precision mode (PR #20973)

2025-11-19 Thread Steven Xiao via ffmpeg-devel
{ +av_log(avctx, AV_LOG_VERBOSE, "Hardware supports motion estimation " +"precision mode limits.\n"); +} else { +ctx->me_precision = 0; +av_log(avctx, AV_LOG_WARNING, "Hardware does not support motion estima

[FFmpeg-devel] [PATCH] Makefile: remove config_components.asm on distclean (PR #20972)

2025-11-19 Thread Kacper Michajłow via ffmpeg-devel
/ffversion.h libavcodec/codec_names.h \ libavcodec/bsf_list.c libavformat/protocol_list.c \ -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [RFC] Funded Task Ideas

2025-11-19 Thread ff--- via ffmpeg-devel
On 2025-10-13 19:40, Michael Niedermayer via ffmpeg-devel wrote: Hi Everyone As we are now looking for sponsors, we also should look for tasks to fund. as i suggested on irc, a j2k vulkan decoder. since a lot of archivists are still stuck with j2k. also would be good to decode (maybe in

[FFmpeg-devel] [PATCH] Fix WAV bitrate calculation when bits_per_coded_sample != 8

2025-11-19 Thread Erdinc Kaya via ffmpeg-devel
sample) +bitrate *= 8.0 / par->bits_per_coded_sample; + if (id == 0xFFFE) { par->codec_tag = 0; } else { -- 2.43.0 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 3/3] avformat/matroskadec: Update EBML syntax to parse EditionEntry

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
ers[j].uid, +(AVRational) { 1, 10 }, +chapters[j].start, chapters[j].end, +chapters[j].title); +max_start = chapters[j].start; +} } + } matroska_add_in

[FFmpeg-devel] [PATCH 2/3] avformat/matroskadec: Add data structures for ordered chapters

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
; #define CHILD_OF(parent) { .def = { .n = parent } } -- 2.51.2 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 1/3] avformat/matroska: Add element IDs for ordered chapters

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
MATROSKA_ID_CHAPTERSEGMENTUID 0x6E67 +#define MATROSKA_ID_CHAPTERSEGMENTEDITIONUID 0x6EBC typedef enum { MATROSKA_TRACK_TYPE_NONE = 0x0, -- 2.51.2 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to ffmpeg-devel-le

[FFmpeg-devel] [PATCH 0/3] avformat/matroska: add ordered-chapter parsing

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
--- 2 files changed, 64 insertions(+), 37 deletions(-) -- 2.51.2 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Appreciation + Sharing a Project Built on FFmpeg

2025-11-19 Thread Shashwat Verma via ffmpeg-devel
wanted to say thank you for the project and the impact it has on the entire ecosystem. Best regards, Shashwat Verma AAAI Solutions [email protected] ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to ffmpeg-devel

[FFmpeg-devel] [PATCH] avformat/matroska: add ordered-chapter parsing (PR #20971)

2025-11-19 Thread xobust via ffmpeg-devel
avpriv_new_chapter(s, chapters[j].uid, +(AVRational) { 1, 10 }, +chapters[j].start, chapters[j].end, +chapters[j].title); +max_start = chapters[j].start; +

[FFmpeg-devel] Re: FFmpeg 8.0.1 release

2025-11-19 Thread Michael Niedermayer via ffmpeg-devel
On Wed, Nov 19, 2025 at 05:21:13AM +0100, Michael Niedermayer via ffmpeg-devel wrote: > On Sat, Nov 15, 2025 at 04:15:14PM +0100, Michael Niedermayer via > ffmpeg-devel wrote: > > Hi all > > > > due to accumulated bug fixes, i think we should make a new release fr

[FFmpeg-devel] Re: FFmpeg 8.0.1 release

2025-11-19 Thread Michael Niedermayer via ffmpeg-devel
Hi Zhao On Wed, Nov 19, 2025 at 01:25:30PM +0800, Zhao Zhili via ffmpeg-devel wrote: > > > 在 2025年11月19日,下午12:29,Michael Niedermayer via ffmpeg-devel > > 写道: > > > > On Sat, Nov 15, 2025 at 11:29:26PM +0800, Zhao Zhili via ffmpeg-devel > > wrote: > >&g

[FFmpeg-devel] [PATCH] fftools/ffmpeg: fix memleak when sdp create failed (PR #20969)

2025-11-19 Thread Jack Lau via ffmpeg-devel
railer if needed */ for (int i = 0; i < nb_output_files; i++) { int err = of_write_trailer(output_files[i]); -- 2.49.1 _______________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swscale: Fix ff_sws_pixel_type_to_uint (PR #20968)

2025-11-19 Thread Martin Storsjö via ffmpeg-devel
SWS_PIXEL_U32; +case 1: return SWS_PIXEL_U8; +case 2: return SWS_PIXEL_U16; +case 4: return SWS_PIXEL_U32; } av_unreachable("Invalid pixel type!"); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To u

[FFmpeg-devel] [PATCH] avcodec/psd: Support auxiliary channels (PR #20966)

2025-11-18 Thread jchw via ffmpeg-devel
28 +#sar 0: 0/1 +0, 0, 0,1,49152, 0xe0013dee -- 2.49.1 >From a075417d629858aca2ab07b92d6b1bdb3a43bfc4 Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Wed, 19 Nov 2025 00:17:34 -0500 Subject: [PATCH 3/3] tests/fate/image: Add psd-rgbxx --- tests/fate/image.m

[FFmpeg-devel] Re: FFmpeg 8.0.1 release

2025-11-18 Thread Zhao Zhili via ffmpeg-devel
> 在 2025年11月19日,下午12:29,Michael Niedermayer via ffmpeg-devel > 写道: > > On Sat, Nov 15, 2025 at 11:29:26PM +0800, Zhao Zhili via ffmpeg-devel wrote: >> >> >>>> On Nov 15, 2025, at 23:15, Michael Niedermayer via ffmpeg-devel >>>> wrote: >&

[FFmpeg-devel] Re: FFmpeg 8.0.1 release

2025-11-18 Thread Michael Niedermayer via ffmpeg-devel
On Sat, Nov 15, 2025 at 11:29:26PM +0800, Zhao Zhili via ffmpeg-devel wrote: > > > > On Nov 15, 2025, at 23:15, Michael Niedermayer via ffmpeg-devel > > wrote: > > > > Hi all > > > > due to accumulated bug fixes, i think we should make a new rele

[FFmpeg-devel] Re: FFmpeg 8.0.1 release

2025-11-18 Thread Michael Niedermayer via ffmpeg-devel
On Sat, Nov 15, 2025 at 04:15:14PM +0100, Michael Niedermayer via ffmpeg-devel wrote: > Hi all > > due to accumulated bug fixes, i think we should make a new release from > release/8.0 soon will probably make 7.1.3 shortly after 8.0.1 [...] -- Michael GnuPG

[FFmpeg-devel] [PATCH] release/8.0: libavformat: backporting bugfix for whip (PR #20965)

2025-11-18 Thread Jack Lau via ffmpeg-devel
(-) diff --git a/libavformat/whip.c b/libavformat/whip.c index 45e0b8b577..b914404f91 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -1817,8 +1817,10 @@ static int whip_write_packet(AVFormatContext *s, AVPacket *pkt) if (ret == AVERROR(EINVAL)) { av_log(whip, AV_LOG_WAR

[FFmpeg-devel] [PATCH] .forgejo/labeler: consistently quote strings (PR #20963)

2025-11-18 Thread Marvin Scholz via ffmpeg-devel
le: - changed-files: -- any-glob-to-any-file: libswscale/** +- any-glob-to-any-file: 'libswscale/**' CLI: - changed-files: -- any-glob-to-any-file: fftools/** +- any-glob-to-any-file: 'fftools/**' -- 2.49.1 ___ f

[FFmpeg-devel] [PATCH] dovi: fix L11 metadata (PR #20962)

2025-11-18 Thread Cosmin Stejerean via ffmpeg-devel
bits(pb, 2, dm->l11.color); +put_bits(pb, 8, dm->l11.reserved_byte2); +put_bits(pb, 8, dm->l11.reserved_byte3); break; case 254: put_bits(pb, 8, dm->l254.dm_mode); -- 2.49.1 _______ ffmpeg-devel mailing list

[FFmpeg-devel] Fwd: [PATCH] Add myself as maintainer to the various ogg files. (PR #20961)

2025-11-18 Thread Romain Beauxis via ffmpeg-devel
I was not sure about how to CC the current maintainers via code.f.o so this is the CC.. -- Forwarded message - De : toots via ffmpeg-devel Date: mar. 18 nov. 2025 à 17:02 Subject: [FFmpeg-devel] [PATCH] Add myself as maintainer to the various ogg files. (PR #20961) To: Cc: toots

[FFmpeg-devel] [PATCH] Add myself as maintainer to the various ogg files. (PR #20961)

2025-11-18 Thread toots via ffmpeg-devel
*.c David Conrad, Romain Beauxis oma.c Maxim Poliakovski pp_bnk.c Zane van Iperen psxstr.c Mike Melanson -- 2.49.1 ___ ffmpeg-devel mail

[FFmpeg-devel] Re: [RFC] Funded Task Ideas

2025-11-18 Thread Nicolas George via ffmpeg-devel
Michael Niedermayer via ffmpeg-devel (HE12025-11-02): > We have people in the community who have experience with company stuff But not necessarily the people we should trust to have the best interests of the project at heart. > I care about money, so i dont have to care about money >

[FFmpeg-devel] Re: [PATCH] Revert " avfilter/avfilter: always forward request frame in filter_activate_default" (PR #20944)

2025-11-18 Thread Nicolas George via ffmpeg-devel
Jack Lau via ffmpeg-devel (HE12025-11-17): > PR #20944 opened by Jack Lau (JackLau) > URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20944 > Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20944.patch > > Fix #20940 > > This reverts commit 4440e499ba > >

[FFmpeg-devel] [PATCH] tests/fate-run: pass threads argument to tests using certain pseudo muxers (PR #20960)

2025-11-18 Thread James Almer via ffmpeg-devel
-f ffmetadata - +ffmpeg "$@" -bitexact -threads $threads -f ffmetadata - } framemd5(){ -ffmpeg "$@" -bitexact -f framemd5 - +ffmpeg "$@" -bitexact -threads $threads -f framemd5 - } crc(){ -- 2.49.1 _______ ffm

[FFmpeg-devel] [PATCH] Update libavcodec/opus/parser.c (PR #20959)

2025-11-18 Thread mux47 via ffmpeg-devel
ze) < 0) +if (buf_size && set_frame_duration(ctx, avctx, buf, buf_size) < 0) goto fail; } else { next = opus_find_frame_end(ctx, avctx, buf, buf_size, &header_len); -- 2.49.1 ___________ ffmpeg-devel mailing list -- ffmpeg-

[FFmpeg-devel] [PATCH] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling (PR #20958)

2025-11-18 Thread ddesouza via ffmpeg-devel
0) +LANCZOS_KERNELS(planar16) +LANCZOS_KERNELS(semiplanar8) +LANCZOS_KERNELS(semiplanar10) +LANCZOS_KERNELS(semiplanar16) LANCZOS_KERNELS_RGB(rgb0) LANCZOS_KERNELS_RGB(bgr0) diff --git a/libavfilter/vf_scale_cuda.h b/libavfilter/vf_scale_cuda.h index 40d5b9cfac..1fb3498ee8 100644 --- a/libavf

[FFmpeg-devel] [PATCH] swscale/swscale_unscaled: validate slice alignment before unscaled conversion (PR #20957)

2025-11-18 Thread Ramiro Polla via ffmpeg-devel
offset, slice_h, c->dst_slice_align); +return AVERROR(EINVAL); +} + ret = c->convert_unscaled(c, src2, srcStride2, offset, slice_h, dst2, dstStride2); if (scale_dst) -- 2.49.1 _______

[FFmpeg-devel] [PATCH] .forgejo/CODEOWNERS: add myself to VideoToolbox and Icecast (PR #20956)

2025-11-18 Thread Marvin Scholz via ffmpeg-devel
_oh.* @quink libavutil/hwcontext_mediacodec.* @quink +libavutil/hwcontext_videotoolbox.* @ePirat libavutil/iamf.* @jamrial libavutil/integer.* @michaelni libavutil/lfg.* @michaelni -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected]

[FFmpeg-devel] [PATCH] avformat/whip: several fixes (PR #20955)

2025-11-18 Thread Jack Lau via ffmpeg-devel
amp;& +(version == DTLS_VERSION_10 || version == DTLS_VERSION_12); +} + return ret; } -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Make av_make_codec_str a public API, expose in ffprobe stream info (PR #20953)

2025-11-18 Thread Martin Storsjö via ffmpeg-devel
PR #20953 opened by Martin Storsjö (mstorsjo) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20953 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20953.patch Following up on previous concerns: - Adding new unconditionally built source files in libraries. Yes, that's indeed a bit bad, bu

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix crash with negative linesize (PR #20952)

2025-11-18 Thread Zhao Zhili via ffmpeg-devel
#include "libavutil/avstring.h" -#include "libavutil/imgutils.h" -#include "libavcodec/avcodec.h" #include "libavutil/pixdesc.h" #include "libavutil/hwcontext_videotoolbox.h" -#include "codec_internal.h" -#include "internal.h" -#include + #include "atsc_a53.h" +#include "codec_internal.h" #include "encode.h" #include "h264.h" #include "h264_sei.h" #include "hwconfig.h" -#include +#include "internal.h" #if !HAVE_KCMVIDEOCODECTYPE_HEVC enum { kCMVideoCodecType_HEVC = 'hvc1' }; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] libavfilter: Fix incorrect ebur128 peak calculation.

2025-11-18 Thread Tobias Rapp via ffmpeg-devel
On 17/11/2025 16:01, Niklas Haas wrote: On Monday, November 17th, 2025 at 3:48 PM, Tobias Rapp via ffmpeg-devel wrote: On 11/11/2025 03:33, Michael Niedermayer via ffmpeg-devel wrote: Hi adding niklas to the CC so its not missed but i agree the patch LGTM On Tue, Nov 04, 2025 at 08:52

[FFmpeg-devel] [PATCH] avcodec: fix checkasm-hpeldsp failed on LA (PR #20951)

2025-11-17 Thread HecaiYuan via ffmpeg-devel
->put_no_rnd_pixels_tab[1][3] = ff_put_no_rnd_pixels8_xy2_8_lasx; +c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pix8_x2_8_lasx_wrap; +c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pix8_y2_8_lasx_wrap; +c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pix8_xy2_8_lasx_wrap

[FFmpeg-devel] Re: [PATCH] qsv: fix pitch truncation on negative/oversized stride

2025-11-17 Thread Zhao Zhili via ffmpeg-devel
> On Nov 18, 2025, at 09:26, Xiang, Haihao via ffmpeg-devel > wrote: > > From: Disclosure > > Reviewed-by: Zhong Li > Reviewed-by: Haihao Xiang > Cc: Michael Niedermayer > Signed-off-by: Disclosure > --- > libavcodec/qsv.c | 2 ++ > libavfilt

[FFmpeg-devel] [PATCH] qsv: fix pitch truncation on negative/oversized stride

2025-11-17 Thread Xiang, Haihao via ffmpeg-devel
sv_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, } in.Info = out->Info; -map_frame_to_surface(src_frame, &in); + ret = map_frame_to_surface(src_frame, &in); +if (ret < 0) + return ret; do { err = MFXVideoVPP_RunFrameVPPAsync(s->session_upload, &in, out, NULL, &sync); -- 2.43.0 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avformat/aviobuf: ensure EAGAIN is not interpreted as EOF

2025-11-17 Thread Timo Rothenpieler via ffmpeg-devel
P_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] fate: add skip_clean option (PR #20950)

2025-11-17 Thread Kacper Michajłow via ffmpeg-devel
(){ -rm -rf ${build} ${inst} +test "$skip_clean" = "yes" || rm -rf ${build} ${inst} } report(){ -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Fixed broken aselect filter (PR #20949)

2025-11-17 Thread anders-mjoll via ffmpeg-devel
nit= aselect_init, .uninit = uninit, +.activate = activate, .priv_size = sizeof(SelectContext), FILTER_INPUTS(avfilter_af_aselect_inputs), }; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscr

[FFmpeg-devel] [PATCH] avformat/aviobuf: ensure EAGAIN is not interpreted as EOF

2025-11-17 Thread Daniel Riehm via ffmpeg-devel
rwise, lower score. */ if (ret != AVERROR_EOF) goto fail; -- 2.34.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: filter out -guard:signret from armasm flags (PR #20948)

2025-11-17 Thread Kacper Michajłow via ffmpeg-devel
.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] fate: add more configure flags to fate config (PR #20947)

2025-11-17 Thread Kacper Michajłow via ffmpeg-devel
xxflags:+--extra-cxxflags="$extra_cxxflags"} \ +${extra_objcflags:+--extra-objcflags="$extra_objcflags"}\ ${extra_ldflags:+--extra-ldflags="$extra_ldflags"} \ ${extra_libs:+--extra-libs="$extra_libs"} \

[FFmpeg-devel] [PATCH] [libavformat][mov] Fixes individual track duration on fragmented files (PR #20946)

2025-11-17 Thread anthonybajoua via ffmpeg-devel
c->frag_index.complete = 1; +if (offset == 0) +c->frag_index.complete = 1; } return 0; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Revert " avfilter/avfilter: always forward request frame in filter_activate_default" (PR #20944)

2025-11-17 Thread Jack Lau via ffmpeg-devel
_______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [7.1] Backport HTTP and RTSP fixes (PR #20943)

2025-11-17 Thread Marvin Scholz via ffmpeg-devel
if (!strncmp(buf1, "RTSP/", 5)) { get_word(buf1, sizeof(buf1), &p); reply->status_code = atoi(buf1); +p += strspn(p, SPACE_CHARS); av_strlcpy(reply->reason, p, sizeof(reply->reason)); } e

[FFmpeg-devel] [PATCH] avcodec/mpeg12: Inline ff_mpeg1_clean_buffers() into its callers (PR #20942)

2025-11-17 Thread mkver via ffmpeg-devel
dc_val); +pred = msmpeg4v1_pred_dc(h, n, &dc_val); level += pred; /* update predictor */ diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index b4545f7624..1958f36c98 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -129,11 +129,11 @@ static int rv10_

[FFmpeg-devel] Re: [PATCH] libavfilter: Fix incorrect ebur128 peak calculation.

2025-11-17 Thread Niklas Haas via ffmpeg-devel
On Monday, November 17th, 2025 at 3:48 PM, Tobias Rapp via ffmpeg-devel wrote: > > > On 11/11/2025 03:33, Michael Niedermayer via ffmpeg-devel wrote: > > > Hi > > > > adding niklas to the CC so its not missed > > but i agree the patch LGTM > > &g

[FFmpeg-devel] Re: [PATCH] libavfilter: Fix incorrect ebur128 peak calculation.

2025-11-17 Thread Tobias Rapp via ffmpeg-devel
On 11/11/2025 03:33, Michael Niedermayer via ffmpeg-devel wrote: Hi adding niklas to the CC so its not missed but i agree the patch LGTM On Tue, Nov 04, 2025 at 08:52:36PM +0100, Nicolas George via ffmpeg-devel wrote: Carl Hetherington via ffmpeg-devel (HE12025-11-03): Since

[FFmpeg-devel] github sponsors

2025-11-17 Thread Michael Niedermayer via ffmpeg-devel
Description: PGP signature ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-17 Thread Michael Niedermayer via ffmpeg-devel
Hi On Sun, Nov 16, 2025 at 09:16:03PM -0800, ff--- via ffmpeg-devel wrote: > On 2025-11-16 07:59, Michael Niedermayer via ffmpeg-devel wrote: > > On Sun, Nov 16, 2025 at 04:12:00PM +0100, Michael Niedermayer via > > ffmpeg-devel wrote: > > > On Sun, Nov 16, 2025 at 01:56:4

[FFmpeg-devel] [PATCH] WIP: aacdec: add support for 960-frame HE-AAC (PR #20941)

2025-11-17 Thread Lynne via ffmpeg-devel
-s->neg_odd_64 = ff_sbr_neg_odd_64_sse; - s->sum_square = ff_sbr_sum_square_sse; -s->sum64x5= ff_sbr_sum64x5_sse; -s->hf_g_filt = ff_sbr_hf_g_filt_sse; -s->hf_gen = ff_sbr_hf_gen_sse; -s->qmf_post_shuffle = ff_sbr_qmf_post_shuffle_sse; -s->qmf_deint_neg= ff_sbr_qmf_deint_neg_sse; -s->autocorrelate= ff_sbr_autocorrelate_sse; +s->neg_odd_64[0] = ff_sbr_neg_odd_64_sse; +s->sum_square = ff_sbr_sum_square_sse; +s->sum64x5[0] = ff_sbr_sum64x5_sse; +s->hf_g_filt = ff_sbr_hf_g_filt_sse; +s->hf_gen = ff_sbr_hf_gen_sse; +s->qmf_post_shuffle[0] = ff_sbr_qmf_post_shuffle_sse; +s->qmf_deint_neg[0]= ff_sbr_qmf_deint_neg_sse; +s->autocorrelate = ff_sbr_autocorrelate_sse; } if (EXTERNAL_SSE2(cpu_flags)) { -s->qmf_deint_bfly = ff_sbr_qmf_deint_bfly_sse2; -s->qmf_pre_shuffle = ff_sbr_qmf_pre_shuffle_sse2; -s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2; -s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2; -s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2; -s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2; +s->qmf_deint_bfly[0] = ff_sbr_qmf_deint_bfly_sse2; +s->qmf_pre_shuffle[0] = ff_sbr_qmf_pre_shuffle_sse2; +s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2; +s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2; +s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2; +s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2; } if (EXTERNAL_SSE3(cpu_flags)) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [Question] Testing and evaluating runtime performance of functions

2025-11-17 Thread Sidd via ffmpeg-devel
d and the usual practice here. PS: Sorry for double mailing my patch. I was not aware that opening a PR would do the same. _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/x86/f_ebur128: only use filter_channels_avx for >= 2 channels (PR #20939)

2025-11-17 Thread Niklas Haas via ffmpeg-devel
2ch_avx; } -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [GASPP PATCH 1/2] Pass "-machine" options through to armasm

2025-11-16 Thread Harish Raja Selvan via ffmpeg-devel
I understand that this build configuration is not officially supported. I appreciate your consideration, and I hope this clarifies the intent behind the proposal. Best regards, Harish. _______ ffmpeg-devel mailing list -- [email protected] To u

[FFmpeg-devel] [PATCH] release/8.0: libavformat: backporting bugfix for udp (PR #20938)

2025-11-16 Thread Jack Lau via ffmpeg-devel
ddr); pthread_mutex_unlock(&s->mutex); /* Blocking operations are always cancellation points; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: add detailed headers check for openssl (PR #20937)

2025-11-16 Thread Jack Lau via ffmpeg-devel
amp; require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init enabled rkmpp && { require_pkg_config rkmpp rockchip_mpp rockchip/rk_mpi.h mpp_create && require_pkg_config rockchip_mpp "rockchip_mpp >= 1.3

[FFmpeg-devel] [PATCH] WIP: aacdec: implement support for Mps212 decoding (PR #20936)

2025-11-16 Thread Lynne via ffmpeg-devel
PR #20936 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936.patch This commit implements support for decoding of MPEG Surround data (USAC-flavoured). I'm raising funds and resources to build a rocket capable of str

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread ff--- via ffmpeg-devel
On 2025-11-16 07:59, Michael Niedermayer via ffmpeg-devel wrote: On Sun, Nov 16, 2025 at 04:12:00PM +0100, Michael Niedermayer via ffmpeg-devel wrote: On Sun, Nov 16, 2025 at 01:56:49PM +, Kieran Kunhya via ffmpeg-devel wrote: > On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffm

[FFmpeg-devel] [PATCH] configure: Only test for SSE2 intrinsics on x86 (PR #20934)

2025-11-16 Thread mkver via ffmpeg-devel
ics_sse2 emmintrin.h "__m128i test = _mm_setzero_si128()" check_ldflags -Wl,--as-needed check_ldflags -Wl,-z,noexecstack -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread Michael Niedermayer via ffmpeg-devel
On Sun, Nov 16, 2025 at 04:00:38PM +, Kieran Kunhya via ffmpeg-devel wrote: > On Sun, 16 Nov 2025, 15:12 Michael Niedermayer, > wrote: > > > > > But theres a lot more. We need some sort of wiki page, call for people > > sending project proposals, I mean we wan

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread Kieran Kunhya via ffmpeg-devel
o STF. > I need to read through this, maybe there are differences > To my knowledge there are no requirements for us to do this. It's a donation. Also we should allocate some of this to fund merging forks. > Sigh... Kieran > _______ ffm

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread Michael Niedermayer via ffmpeg-devel
Hi everyone On Sun, Nov 16, 2025 at 04:12:00PM +0100, Michael Niedermayer via ffmpeg-devel wrote: > Hi Kieran > > On Sun, Nov 16, 2025 at 01:56:49PM +, Kieran Kunhya via ffmpeg-devel > wrote: > > On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffmpeg-devel, < > &

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread Michael Niedermayer via ffmpeg-devel
Hi Kieran On Sun, Nov 16, 2025 at 01:56:49PM +, Kieran Kunhya via ffmpeg-devel wrote: > On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffmpeg-devel, < > [email protected]> wrote: > > > Hi everyone > > > > It seems neither Thilo nor Pierre have

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread Kieran Kunhya via ffmpeg-devel
On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffmpeg-devel, < [email protected]> wrote: > Hi everyone > > It seems neither Thilo nor Pierre have time to look into this. > Does someone else have time ? (id like to work on the 8.0.1 release > and backports and many

[FFmpeg-devel] Re: [REFUND-REQUEST] GSoC 2025 Mentor Summit Reimbursement Request

2025-11-16 Thread Steven Liu via ffmpeg-devel
Michael Niedermayer 于2025年11月5日周三 05:24写道: > > Hi Steven > > On Thu, Oct 30, 2025 at 03:19:54PM +0800, Steven Liu via ffmpeg-devel wrote: > > Hi Folks, > > > > > > I would like to request reimbursement for the following expenses > > incurred attendi

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
for (int i = 0; i < window_size; i++) > buf[i] += fft_out[i].re * window_lut[i] * f; > } > -- > 2.51.0 > ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size (PR #20933)

2025-11-16 Thread nots1dd via ffmpeg-devel
ize) * sizeof(float)); for (int i = 0; i < window_size; i++) buf[i] += fft_out[i].re * window_lut[i] * f; } -- 2.49.1 _______________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/x86/mpegvideoenc cleanup (PR #20932)

2025-11-16 Thread mkver via ffmpeg-devel
ot;paddusw %%xmm6, %%xmm0 \n\t" // ABS(block[i]) + bias[0] "movdqa (%2, %%"FF_REG_a"), %%xmm5 \n\t" // qmat[i] "pmulhw %%xmm5, %%xmm0 \n\t" // (ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16 "por %%xmm0, %%xmm4 \n\t" RESTORE_SIGN("%%xmm1", "%%xmm0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i]) -"movdqa %%xmm0, (%5, %%"FF_REG_a") \n\t" +"movdqa %%xmm0, (%4, %0) \n\t" "pcmpeqw %%xmm2, %%xmm0 \n\t" // out==0 ? 0xFF : 0x00 -"movdqa (%4, %%"FF_REG_a"), %%xmm1 \n\t" +"movdqa (%3, %0), %%xmm1 \n\t" "movdqa %%xmm2, (%1, %%"FF_REG_a") \n\t" // 0 "pandn %%xmm1, %%xmm0 \n\t" "pmaxsw %%xmm0, %%xmm3 \n\t" @@ -177,7 +174,7 @@ static int RENAME(dct_quantize)(MPVEncContext *const s, "movd %%xmm3, %%"FF_REG_a" \n\t" "movzbl %%al, %%eax \n\t" // last_non_zero_p1 : "+a" (last_non_zero_p1) -: "r" (block+64), "r" (qmat+64), "r" (bias+64), +: "r" (block+64), "r" (qmat+64), "r" (inv_zigzag_direct16 + 64), "r" (temp_block + 64) XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6") -- 2.49.1 >From 8ae2428ebedca7f191846e5fde2442069d15e8b1 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 16 Nov 2025 12:10:22 +0100 Subject: [PATCH 9/9] avutil/x86/asm: Remove wrong comment, rename FF_REG_sp Before FFmpeg commit 531b0a316b24f00965cd8a88efdbea2c6d63147f, FFmpeg used REG_SP as macro for the stack pointer, yet this clashed with a REG_SP define in Solaris system headers, so it was changed to REG_sp and a comment was added for this. Libav fixed it by adding an FF_ prefix to the macros in 1e9c5bf4c136fe9e010cc8a7e7270bba0d1bf45e. FFmpeg switched to using these prefixes in 9eb3da2f9942cf1b1148d242bccfc383f666feb6, using FF_REG_sp instead of Libav's FF_REG_SP. In said commit the comment was changed to claim that Solaris system headers define FF_REG_SP, but this is (most likely) wrong. This commit removes the wrong comment and renames the (actually unused) macro to FF_REG_SP to make it consistent with FF_REG_BP. Signed-off-by: Andreas Rheinhardt --- libavutil/x86/asm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/x86/asm.h b/libavutil/x86/asm.h index 9bff42d628..f06ea25035 100644 --- a/libavutil/x86/asm.h +++ b/libavutil/x86/asm.h @@ -38,8 +38,7 @@ typedef struct ymm_reg { uint64_t a, b, c, d; } ymm_reg; #define FF_PTR_SIZE "8" typedef int64_t x86_reg; -/* FF_REG_SP is defined in Solaris sys headers, so use FF_REG_sp */ -#define FF_REG_sp "rsp" +#define FF_REG_SP "rsp" #define FF_REG_BP "rbp" #define FF_REGBP rbp #define FF_REGarax @@ -60,7 +59,7 @@ typedef int64_t x86_reg; #define FF_PTR_SIZE "4" typedef int32_t x86_reg; -#define FF_REG_sp "esp" +#define FF_REG_SP "esp" #define FF_REG_BP "ebp" #define FF_REGBP ebp #define FF_REGaeax -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
move(buf, buf + s->hop_size, window_size * sizeof(float)); > +memmove(buf, buf + hop_size, (window_size - hop_size) * > sizeof(float)); > for (int i = 0; i < window_size; i++) > buf[i] += fft_out[i].re * window_lut[i] * f; > } > -- > 2.51.0 >

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread nots1dd via ffmpeg-devel
oat)); for (int i = 0; i < window_size; i++) buf[i] += fft_out[i].re * window_lut[i] * f; } -- 2.51.0 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avformat/whip: Fix rtp_ctx->streams access (PR #20805)

2025-11-15 Thread Jack Lau via ffmpeg-devel
> On Nov 10, 2025, at 08:24, Michael Niedermayer via ffmpeg-devel > wrote: > > Hi Kieran > > On Sat, Nov 01, 2025 at 02:37:45AM +, Kieran Kunhya via ffmpeg-devel > wrote: >> On Fri, 31 Oct 2025, 17:06 michaelni via ffmpeg-devel, < >> ffmpeg-devel@

[FFmpeg-devel] Re: [PATCH] fftools/ffmpeg_mux_init: do not write encoder metadata for ogg files with bitexact

2025-11-15 Thread Gyan Doshi via ffmpeg-devel
On 2025-11-16 04:02 am, Tolga Celebi via ffmpeg-devel wrote: From: tolgakaan12 <[email protected]> The set_encoder_id function in fftools/ffmpeg_mux_init was writing a shortened encoder tag even when -bitexact flag was set, instead of omitting it entirely

[FFmpeg-devel] [PATCH] avformat/whip: fix weird code that clear extradata in rtp muxer (PR #20931)

2025-11-15 Thread Jack Lau via ffmpeg-devel
ict_set(&opts, "payload_type", buf, 0); snprintf(buf, sizeof(buf), "%d", is_video? whip->video_ssrc : whip->audio_ssrc); @@ -1998,6 +2057,8 @@ static av_cold void whip_deinit(AVFormatContext *s) s->streams[i]->priv_data = NULL; } +avcodec_parameters_free(&whip->video_par); +avcodec_parameters_free(&whip->audio_par); av_freep(&whip->sdp_offer); av_freep(&whip->sdp_answer); av_freep(&whip->whip_resource_url); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Fix B-frame timestamp handling for proper PTS/DTS ordering

2025-11-15 Thread Bo Xu boxuffmpeg--- via ffmpeg-devel
vtctx->base_pts = 0; +vtctx->base_dts = 0; +vtctx->vt_pts_first = AV_NOPTS_VALUE; av_assert0(status != 0 || (avctx->extradata && avctx->extradata_size > 0)); if (!status) -- 2.39.5 (Apple Git-154) ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] fftools/ffmpeg_mux_init: do not write encoder metadata for ogg files with bitexact

2025-11-15 Thread Tolga Celebi via ffmpeg-devel
av_dict_set(&ost->st->metadata, "encoder", encoder_string, AV_DICT_DONT_STRDUP_VAL | AV_DICT_DONT_OVERWRITE); -- 2.50.1 (Apple Git-155) ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

  1   2   3   4   5   6   7   8   9   10   >