diff options
author | Johns <johns98@gmx.net> | 2014-02-27 14:20:25 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2014-02-27 14:20:25 +0100 |
commit | 42bbb763fd93ee3936ea50e003c0892c791b1214 (patch) | |
tree | 48cf63741252def0d0336bb2eac4fe54a97cad4e /softhddev.c | |
parent | 5bf2a9b761c3ce73bfd49a9cb213b795be9ca2ff (diff) | |
download | vdr-plugin-softhddevice-42bbb763fd93ee3936ea50e003c0892c791b1214.tar.gz vdr-plugin-softhddevice-42bbb763fd93ee3936ea50e003c0892c791b1214.tar.bz2 |
Fix compile with newer libav.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/softhddev.c b/softhddev.c index e3c09d1..2f873c0 100644 --- a/softhddev.c +++ b/softhddev.c @@ -1,7 +1,7 @@ /// /// @file softhddev.c @brief A software HD device plugin for VDR. /// -/// Copyright (c) 2011 - 2013 by Johns. All Rights Reserved. +/// Copyright (c) 2011 - 2014 by Johns. All Rights Reserved. /// /// Contributor(s): /// @@ -32,15 +32,18 @@ #include <fcntl.h> #include <stdio.h> +#include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <unistd.h> +#include <string.h> #include <libintl.h> #define _(str) gettext(str) ///< gettext shortcut #define _N(str) str ///< gettext_noop shortcut #include <libavcodec/avcodec.h> +#include <libavutil/mem.h> // support old ffmpeg versions <1.0 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,18,102) #define AVCodecID CodecID |