]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/txd.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / txd.c
index 284d53212f5e520f22c70689c9f7f1255afc0f16..f6060330ba8c91faf775f4a4e853da36262d0713 100644 (file)
@@ -37,7 +37,7 @@ static int txd_probe(AVProbeData * pd) {
     return 0;
 }
 
-static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) {
+static int txd_read_header(AVFormatContext *s) {
     AVStream *st;
 
     st = avformat_new_stream(s, NULL);
@@ -49,8 +49,6 @@ static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) {
     st->codec->time_base.num = 1;
     /* the parameters will be extracted from the compressed bitstream */
 
-    s->pb->maxsize= avio_size(s->pb);
-
     return 0;
 }