sndio_dec: Add missing includes for av_gettime()

Message ID 1364119958-20557-1-git-send-email-martin@martin.st
State Committed
Commit fdaacc5932a813c1974e4bd61b5b499b070a610a
Headers show

Commit Message

Martin Storsjö March 24, 2013, 10:12 a.m.
This is necessary after the old av_gettime in libavformat was
dropped.
---
 libavdevice/sndio_dec.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Anton Khirnov March 24, 2013, 11:07 a.m. | #1
On Sun, 24 Mar 2013 12:12:38 +0200, Martin Storsjö <martin@martin.st> wrote:
> This is necessary after the old av_gettime in libavformat was
> dropped.
> ---
>  libavdevice/sndio_dec.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
> index a29a088..58caaa1 100644
> --- a/libavdevice/sndio_dec.c
> +++ b/libavdevice/sndio_dec.c
> @@ -25,6 +25,7 @@
>  #include "libavformat/avformat.h"
>  #include "libavformat/internal.h"
>  #include "libavutil/opt.h"
> +#include "libavutil/time.h"
>  
>  #include "sndio_common.h"
>  
> -- 
> 1.7.9.4
> 

Ok.

Patch

diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
index a29a088..58caaa1 100644
--- a/libavdevice/sndio_dec.c
+++ b/libavdevice/sndio_dec.c
@@ -25,6 +25,7 @@ 
 #include "libavformat/avformat.h"
 #include "libavformat/internal.h"
 #include "libavutil/opt.h"
+#include "libavutil/time.h"
 
 #include "sndio_common.h"