Opened 11 years ago

Closed 11 years ago

#2369 closed defect (fixed)

Compilation with sndio broken after 7b486ab

Reported by: Kyle 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 by Carl Eugen Hoyos, 11 years ago

Keywords: regression added
Priority: normalimportant

Please consider sending a patch to ffmpeg-devel.

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: newclosed

Fixed by Paul B Mahol.

Note: See TracTickets for help on using tickets.