This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpegts: use ffio_ensure_seekback()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
186ec17843
commit
8a8d9a7385
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/mpegts.c
+ 2
- 0
libavformat/mpegts.c
View File
@@ -2003,6 +2003,8 @@ static int mpegts_read_header(AVFormatContext *s)
int len;
int64_t pos;
ffio_ensure_seekback(pb, s->probesize);
/* read the first 8192 bytes to get packet size */
pos = avio_tell(pb);
len = avio_read(pb, buf, sizeof(buf));
Write
Preview
Loading…
Cancel
Save