Opened 3 years ago

Closed 3 years ago

#8988 closed defect (invalid)

commit cea7c19c breaks the compling of gst-libav

Reported by: haihao Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

AVStream.*index_entries* was used in gst-libav (https://gitlab.freedesktop.org/gstreamer/gst-libav/-/blob/master/ext/libav/gstavdemux.c#L486) years ago. Commit cea7c19c moved AVStream.*index_entries* to AVStreamInternal, which breaks the compiling of gst-libav.

Change History (2)

comment:1 by haihao, 3 years ago

cc -Iext/libav/5570dbb@@gstlibav@sha -Iext/libav -I../../gst-libav/ext/libav -I. -I../../gst-libav -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Waggregate-return -Wdeclaration-after-statement -Wvla -Wpointer-arith -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'ext/libav/5570dbb@@gstlibav@sha/gstavdemux.c.o' -MF 'ext/libav/5570dbb@@gstlibav@sha/gstavdemux.c.o.d' -o 'ext/libav/5570dbb@@gstlibav@sha/gstavdemux.c.o' -c ../../gst-libav/ext/libav/gstavdemux.c
../../gst-libav/ext/libav/gstavdemux.c: In function ‘gst_ffmpegdemux_do_seek’:
../../gst-libav/ext/libav/gstavdemux.c:486:24: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘index_entries’

fftarget = stream->index_entries[keyframeidx].timestamp;

comment:2 by Carl Eugen Hoyos, 3 years ago

Priority: criticalnormal
Resolution: invalid
Status: newclosed

The field was marked as not being accessible: If you believe that cea7c19cda0ea1630ae1de8c102ab14231b9db10 should be reverted, this discussion has to take place on the FFmpeg development mailing list.

Note: See TracTickets for help on using tickets.