added avcodec.open backwards-compatibility (with or without input option...

Added navcodec backwards-compatibility (with or without input options).