Opened 5 years ago

Closed 5 years ago

#2369 closed defect (fixed)

Compilation with sndio broken after 7b486ab

Reported by: kyl416 Owned by:
Priority: important Component: avdevice
Version: git-master Keywords: regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Make fails when it gets to sndio_dec.o after commit 7b486ab

CC	libavdevice/sndio_dec.o
libavdevice/sndio_dec.c: In function ‘audio_read_packet’:
libavdevice/sndio_dec.c:75:5: error: implicit declaration of function ‘av_gettime’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make: *** [libavdevice/sndio_dec.o] Error 1

How to reproduce:
Have sndio.h on your system, run configure and then make

I was able to fix it by inserting the following in the includes section on libavdevice/sndio_dec.c

#include "libavutil/time.h"

Change History (2)

comment:1 Changed 5 years ago by cehoyos

  • Keywords regression added
  • Priority changed from normal to important

Please consider sending a patch to ffmpeg-devel.

comment:2 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by Paul B Mahol.

Note: See TracTickets for help on using tickets.