[FFmpeg-trac] #2369(avdevice:new): Compilation with sndio broken after 7b486ab

FFmpeg trac at avcodec.org
Sat Mar 16 22:06:52 CET 2013

#2369: Compilation with sndio broken after 7b486ab
             Reporter:  kyl416    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avdevice  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 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
 #include "libavutil/time.h"

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2369>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list