Opened 6 months ago

Last modified 6 months ago

#68850 assigned defect

ffmpeg6: No "mem_internal.h" file in libavutil directory

Reported by: Behinder (behinder) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ffmpeg6

Description

That is tricky error to notice, but it makes comskip build failed.The reason for that is because comskip uses static DECLARE_ALIGNED(32, long, histogram)[256] function/makro that is not recognized by clang. And rightfully so because that definition is in mem_internal.h file according to http://ffmpeg.org/doxygen/6.0/mem__internal_8h.html#a7a422611f83afb33d6e0da44184b548e

However,that file is not found ls /opt/local/libexec/ffmpeg6/include/libavutil gives:

adler32.h                     dict.h                        hwcontext_qsv.h               rational.h
aes.h                         display.h                     hwcontext_vaapi.h             rc4.h
aes_ctr.h                     dovi_meta.h                   hwcontext_vdpau.h             replaygain.h
ambient_viewing_environment.h downmix_info.h                hwcontext_videotoolbox.h      ripemd.h
attributes.h                  encryption_info.h             hwcontext_vulkan.h            samplefmt.h
audio_fifo.h                  error.h                       imgutils.h                    sha.h
avassert.h                    eval.h                        intfloat.h                    sha512.h
avconfig.h                    executor.h                    intreadwrite.h                spherical.h
avstring.h                    ffversion.h                   lfg.h                         stereo3d.h
avutil.h                      fifo.h                        log.h                         tea.h
base64.h                      file.h                        lzo.h                         threadmessage.h
blowfish.h                    film_grain_params.h           macros.h                      time.h
bprint.h                      frame.h                       mastering_display_metadata.h  timecode.h
bswap.h                       hash.h                        mathematics.h                 timestamp.h
buffer.h                      hdr_dynamic_metadata.h        md5.h                         tree.h
camellia.h                    hdr_dynamic_vivid_metadata.h  mem.h                         twofish.h
cast5.h                       hmac.h                        motion_vector.h               tx.h
channel_layout.h              hwcontext.h                   murmur3.h                     uuid.h
common.h                      hwcontext_cuda.h              opt.h                         version.h
cpu.h                         hwcontext_d3d11va.h           parseutils.h                  video_enc_params.h
crc.h                         hwcontext_drm.h               pixdesc.h                     video_hint.h
csp.h                         hwcontext_dxva2.h             pixelutils.h                  xtea.h
des.h                         hwcontext_mediacodec.h        pixfmt.h
detection_bbox.h              hwcontext_opencl.h            random_seed.h

I tried this on ffmpeg6 with with and without nonfree components and file is not present.

Change History (2)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Owner: set to mascguy
Status: newassigned

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: ffmpeg6 libavutil removed
Summary: No "mem_internal.h" file in libavutil directoryffmpeg6: No "mem_internal.h" file in libavutil directory

It doesn't surprise me that a file named "mem_internal.h" is not installed; from the name, it sounds like it is internal, i.e. not intended for use outside of ffmpeg itself. File a bug report with comskip asking them to stop including that file?

Note: See TracTickets for help on using tickets.