Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f72601d06378494b5026b919fcd3eb5eb22799a1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -48,6 +48,9 @@ static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) { |
48 | 48 |
st->codec->time_base.den = 5; |
49 | 49 |
st->codec->time_base.num = 1; |
50 | 50 |
/* the parameters will be extracted from the compressed bitstream */ |
51 |
+ |
|
52 |
+ s->pb->maxsize= avio_size(s->pb); |
|
53 |
+ |
|
51 | 54 |
return 0; |
52 | 55 |
} |
53 | 56 |
|