/*
* THP Demuxer
- * Copyright (c) 2007 Marco Gerards.
+ * Copyright (c) 2007 Marco Gerards
*
* This file is part of FFmpeg.
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
-#include "allformats.h"
typedef struct ThpDemuxContext {
int version;
{
ThpDemuxContext *thp = s->priv_data;
AVStream *st;
- ByteIOContext *pb = &s->pb;
+ ByteIOContext *pb = s->pb;
int i;
/* Read the file header. */
AVPacket *pkt)
{
ThpDemuxContext *thp = s->priv_data;
- ByteIOContext *pb = &s->pb;
+ ByteIOContext *pb = s->pb;
int size;
int ret;
AVInputFormat thp_demuxer = {
"thp",
- "THP",
+ NULL_IF_CONFIG_SMALL("THP"),
sizeof(ThpDemuxContext),
thp_probe,
thp_read_header,