From 3116336b836b73fa9ec1d8b3f8dc2c299f586801 Mon Sep 17 00:00:00 2001 From: Martijn Date: Sun, 27 Oct 2013 00:19:44 +0200 Subject: Small changes to A/V --- toxmsi/AV_codec.c | 6 ++++-- toxmsi/AV_codec.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'toxmsi') diff --git a/toxmsi/AV_codec.c b/toxmsi/AV_codec.c index 82e6a320..8a50c894 100644 --- a/toxmsi/AV_codec.c +++ b/toxmsi/AV_codec.c @@ -36,8 +36,8 @@ #include #include #include -#include -#include +#include +#include #include #include @@ -48,6 +48,8 @@ #include "phone.h" #include "AV_codec.h" +SDL_Surface *screen; + int display_received_frame(codec_state *cs, AVFrame *r_video_frame) { AVPicture pict; diff --git a/toxmsi/AV_codec.h b/toxmsi/AV_codec.h index 641cf486..bf5951d2 100644 --- a/toxmsi/AV_codec.h +++ b/toxmsi/AV_codec.h @@ -38,7 +38,7 @@ #include "../toxrtp/toxrtp.h" #include "../toxcore/tox.h" -#include +#include #include /* ffmpeg VP8 codec ID */ @@ -75,7 +75,7 @@ #define DEFAULT_WEBCAM "0" #endif -SDL_Surface *screen; +extern SDL_Surface *screen; typedef struct { SDL_Overlay *bmp; -- cgit v1.2.3