summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_xiph.h
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-04-01 21:40:56 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-01 21:40:56 +0000
commit06a36faf4c111d621a742eb1116dabc20f5593a8 (patch)
treee54c53d6a3fd54416e3394a8891e615243de055c /libavformat/rtpdec_xiph.h
parentd834d63b0e99b9b088fba06fb2cdf7370d653d78 (diff)
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
the Vorbis / theora depacketizers. Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>. Originally committed as revision 22765 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec_xiph.h')
-rw-r--r--libavformat/rtpdec_xiph.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/libavformat/rtpdec_xiph.h b/libavformat/rtpdec_xiph.h
new file mode 100644
index 0000000000..e94c0f1a8e
--- /dev/null
+++ b/libavformat/rtpdec_xiph.h
@@ -0,0 +1,34 @@
+/*
+ * RTP Theora Protocol.
+ * Based off RFC 5215 (Vorbis RTP) and the Theora RTP draft.
+ * Copyright (c) 2010 Josh Allmann
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVFORMAT_RTPDEC_THEORA_H
+#define AVFORMAT_RTPDEC_THEORA_H
+
+#include "libavcodec/avcodec.h"
+#include "rtpdec.h"
+
+/**
+ * Theora RTP callbacks.
+ */
+extern RTPDynamicProtocolHandler ff_theora_dynamic_handler;
+
+#endif /* AVFORMAT_RTPDEC_THEORA_H */