possible fix for stack overflow when parsing video info