From 3d019fb115aafb5635c162a2cd0b61006bce9fc8 Mon Sep 17 00:00:00 2001 From: Martijn Date: Mon, 28 Oct 2013 13:51:48 +0100 Subject: [PATCH 1/2] added AV_codec.h to public headers --- toxmsi/AV_codec.h | 4 ++-- toxmsi/Makefile.inc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/toxmsi/AV_codec.h b/toxmsi/AV_codec.h index bf5951d2..7eea39ae 100644 --- a/toxmsi/AV_codec.h +++ b/toxmsi/AV_codec.h @@ -35,8 +35,8 @@ #include #include #include -#include "../toxrtp/toxrtp.h" -#include "../toxcore/tox.h" +#include "toxrtp.h" +#include "tox.h" #include #include diff --git a/toxmsi/Makefile.inc b/toxmsi/Makefile.inc index 27678bc0..af8c7eef 100644 --- a/toxmsi/Makefile.inc +++ b/toxmsi/Makefile.inc @@ -3,7 +3,8 @@ if BUILD_AV lib_LTLIBRARIES += libtoxmsi.la libtoxmsi_la_include_HEADERS = \ - ../toxmsi/toxmsi.h + ../toxmsi/toxmsi.h \ + ../toxmsi/AV_codec.h libtoxmsi_la_includedir = $(includedir)/tox From 5971d8f7957fc887fbdcffcbd90012637a4c359f Mon Sep 17 00:00:00 2001 From: Martijn Date: Mon, 28 Oct 2013 14:19:38 +0100 Subject: [PATCH 2/2] renamed AV_codec to toxmedia --- toxmsi/Makefile.inc | 5 ++--- toxmsi/phone.c | 2 +- toxmsi/phone.h | 2 +- toxmsi/{AV_codec.c => toxmedia.c} | 2 +- toxmsi/{AV_codec.h => toxmedia.h} | 0 5 files changed, 5 insertions(+), 6 deletions(-) rename toxmsi/{AV_codec.c => toxmedia.c} (99%) rename toxmsi/{AV_codec.h => toxmedia.h} (100%) diff --git a/toxmsi/Makefile.inc b/toxmsi/Makefile.inc index af8c7eef..7d620e70 100644 --- a/toxmsi/Makefile.inc +++ b/toxmsi/Makefile.inc @@ -4,7 +4,7 @@ lib_LTLIBRARIES += libtoxmsi.la libtoxmsi_la_include_HEADERS = \ ../toxmsi/toxmsi.h \ - ../toxmsi/AV_codec.h + ../toxmsi/toxmedia.h libtoxmsi_la_includedir = $(includedir)/tox @@ -36,8 +36,7 @@ libtoxmsi_la_LIBS = $(NACL_LIBS) noinst_PROGRAMS += phone phone_SOURCES = ../toxmsi/phone.c \ - ../toxmsi/AV_codec.h \ - ../toxmsi/AV_codec.c + ../toxmsi/toxmedia.c phone_CFLAGS = -I../toxcore \ -I../toxrtp \ diff --git a/toxmsi/phone.c b/toxmsi/phone.c index f14d0323..432be94c 100644 --- a/toxmsi/phone.c +++ b/toxmsi/phone.c @@ -16,7 +16,7 @@ #include /* #include Can this be removed? */ #include -#include "AV_codec.h" +#include "toxmedia.h" diff --git a/toxmsi/phone.h b/toxmsi/phone.h index d661dcfd..f96aac73 100644 --- a/toxmsi/phone.h +++ b/toxmsi/phone.h @@ -8,7 +8,7 @@ #include "../toxrtp/tests/test_helper.h" #include #include -#include "AV_codec.h" +#include "toxmedia.h" /* Define client version */ #define _USERAGENT "tox_phone-v.0.2.1" diff --git a/toxmsi/AV_codec.c b/toxmsi/toxmedia.c similarity index 99% rename from toxmsi/AV_codec.c rename to toxmsi/toxmedia.c index 8a50c894..4c9f5261 100644 --- a/toxmsi/AV_codec.c +++ b/toxmsi/toxmedia.c @@ -46,7 +46,7 @@ #include "../toxrtp/toxrtp_message.h" #include "../toxrtp/tests/test_helper.h" #include "phone.h" -#include "AV_codec.h" +#include "toxmedia.h" SDL_Surface *screen; diff --git a/toxmsi/AV_codec.h b/toxmsi/toxmedia.h similarity index 100% rename from toxmsi/AV_codec.h rename to toxmsi/toxmedia.h