Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/NeutrinoRDP.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-12-07 10:51:48 +0400
committerJay Sorg <jay.sorg@gmail.com>2012-12-07 10:51:48 +0400
commitb09697ff60ed092822bae3477318fd8914d64116 (patch)
treeead2aedf49d37c85bc4b42847c1f153256770b57 /channels
parenta77dcfd05dadad28616a6c6ce4760e3665856ac3 (diff)
fix for newer ffmpeg
Diffstat (limited to 'channels')
-rw-r--r--channels/xrdpvr/xrdpvr_player.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/channels/xrdpvr/xrdpvr_player.c b/channels/xrdpvr/xrdpvr_player.c
index 6467f77..4324f4c 100644
--- a/channels/xrdpvr/xrdpvr_player.c
+++ b/channels/xrdpvr/xrdpvr_player.c
@@ -85,6 +85,14 @@ static uint32_t get_decoded_video_format(PLAYER_STATE_INFO *psi);
static int display_picture(PLAYER_STATE_INFO *psi);
static int does_file_exist(char *filename);
+#ifndef CODEC_TYPE_VIDEO
+#define CODEC_TYPE_VIDEO AVMEDIA_TYPE_VIDEO
+#endif
+
+#ifndef CODEC_TYPE_AUDIO
+#define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
+#endif
+
/**
******************************************************************************/
void *