]> git.sesse.net Git - mlt/commitdiff
Fix compilation error on libavformat v53.
authorDan Dennedy <dan@dennedy.org>
Mon, 6 Jun 2011 01:08:30 +0000 (18:08 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 6 Jun 2011 01:08:30 +0000 (18:08 -0700)
src/modules/avformat/producer_avformat.c

index 5b69d5a4232c61b4b7a2eca082fcd42ae4054f66..860ba9c3a36a67930ae91d30cc573f11d46226d4 100644 (file)
@@ -665,7 +665,7 @@ static int get_basic_info( producer_avformat self, mlt_profile profile, const ch
        {
                // protocols can indicate if they support seeking
 #if LIBAVFORMAT_VERSION_MAJOR > 52
-               self->seekable = context->pb->seekable;
+               self->seekable = format->pb->seekable;
 #else
                URLContext *uc = url_fileno( format->pb );
                if ( uc )