Commit db0087dc authored by Michael Niedermayer's avatar Michael Niedermayer

mxfdec: fix index_tables check in mxf_read_seek()

Approved-by: Tjoppen
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5bd6a480
......@@ -2202,7 +2202,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
int ret;
MXFIndexTable *t;
if (mxf->index_tables <= 0) {
if (mxf->nb_index_tables <= 0) {
if (!s->bit_rate)
return AVERROR_INVALIDDATA;
if (sample_time < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment