X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fthp.c;h=434bc297a49e9adf927c6bb223c1e0f98783bee8;hb=dd1c8f3e6e5380f993c86750bb09fd42e130143f;hp=f1cc8ae26bff7e0cf16c98d39f0c34fb17f234b3;hpb=6369638bf0440b10cb9c545e6f7a8903b683c21f;p=ffmpeg diff --git a/libavformat/thp.c b/libavformat/thp.c index f1cc8ae26bf..434bc297a49 100644 --- a/libavformat/thp.c +++ b/libavformat/thp.c @@ -57,7 +57,7 @@ static int thp_read_header(AVFormatContext *s, { ThpDemuxContext *thp = s->priv_data; AVStream *st; - ByteIOContext *pb = &s->pb; + ByteIOContext *pb = s->pb; int i; /* Read the file header. */ @@ -140,7 +140,7 @@ static int thp_read_packet(AVFormatContext *s, AVPacket *pkt) { ThpDemuxContext *thp = s->priv_data; - ByteIOContext *pb = &s->pb; + ByteIOContext *pb = s->pb; int size; int ret; @@ -189,7 +189,7 @@ static int thp_read_packet(AVFormatContext *s, AVInputFormat thp_demuxer = { "thp", - "THP", + NULL_IF_CONFIG_SMALL("THP"), sizeof(ThpDemuxContext), thp_probe, thp_read_header,