aboutsummaryrefslogtreecommitdiff
path: root/gst-libs/ext/libav/libavformat/ape.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/ext/libav/libavformat/ape.c')
-rw-r--r--gst-libs/ext/libav/libavformat/ape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/ext/libav/libavformat/ape.c b/gst-libs/ext/libav/libavformat/ape.c
index a9c695e..3c25630 100644
--- a/gst-libs/ext/libav/libavformat/ape.c
+++ b/gst-libs/ext/libav/libavformat/ape.c
@@ -255,7 +255,7 @@ static int ape_read_header(AVFormatContext * s)
ape->totalframes);
return -1;
}
- if (ape->seektablelength && (ape->seektablelength / sizeof(*ape->seektable)) < ape->totalframes) {
+ if (ape->seektablelength / sizeof(*ape->seektable) < ape->totalframes) {
av_log(s, AV_LOG_ERROR,
"Number of seek entries is less than number of frames: %zu vs. %"PRIu32"\n",
ape->seektablelength / sizeof(*ape->seektable), ape->totalframes);