Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-09-16 07:46:50 +0300
committerJames Almer <jamrial@gmail.com>2015-09-17 17:36:16 +0300
commit655b6dcb34b25d591e15ede17673ea6cb8074711 (patch)
tree6a31b795fb22a327663b7643ea49abc9bbb55a2d /libavformat/mpegts.c
parent245bf7c18a71fa3800bb4c3fcea5e08ba90b4f2c (diff)
lavc/lavf: remove incompatible abi checks for the new 64bit fields
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index c35cc9ddf5..44d176e91f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2512,12 +2512,7 @@ static int mpegts_read_header(AVFormatContext *s)
AVIOContext *pb = s->pb;
uint8_t buf[8 * 1024] = {0};
int len;
- int64_t pos, probesize =
-#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
- s->probesize ? s->probesize : s->probesize2;
-#else
- s->probesize;
-#endif
+ int64_t pos, probesize = s->probesize;
if (ffio_ensure_seekback(pb, probesize) < 0)
av_log(s, AV_LOG_WARNING, "Failed to allocate buffers for seekback\n");