diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-20 00:52:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-20 12:54:00 +0200 |
commit | db0087dc1d7fd449a9d501cbc6c6e08741a2bad0 (patch) | |
tree | d90bd64a8b53c24840fb9d4b23242348a9e603df /libavformat/mxfdec.c | |
parent | 5bd6a4800d46df70f52838a950ce188b79f54cbb (diff) | |
download | ffmpeg-db0087dc1d7fd449a9d501cbc6c6e08741a2bad0.tar.gz |
mxfdec: fix index_tables check in mxf_read_seek()
Approved-by: Tjoppen
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 3ddeb996e3..16b8c12070 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -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) |