Ticket #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
Note: See
TracTickets for help on using
tickets.



Please consider sending a patch to ffmpeg-devel.